diff --git a/src/core/plugins/swagger-js/index.js b/src/core/plugins/swagger-js/index.js index 3944d680..cf08cf01 100644 --- a/src/core/plugins/swagger-js/index.js +++ b/src/core/plugins/swagger-js/index.js @@ -3,7 +3,7 @@ import { execute, buildRequest } from "swagger-client/es/execute" import Http, { makeHttp, serializeRes } from "swagger-client/es/http" import resolveSubtree from "swagger-client/es/subtree-resolver" import { opId } from "swagger-client/es/helpers" -import * as configsWrapActions from "./configs-wrap-actions" +import { loaded } from "./configs-wrap-actions" export default function({ configs, getConfigs }) { return { @@ -30,7 +30,9 @@ export default function({ configs, getConfigs }) { }, statePlugins: { configs: { - wrapActions: configsWrapActions + wrapActions: { + loaded, + } } }, }