From f6097b4a114c0eda1f51cfbdf5e3ec29f221474d Mon Sep 17 00:00:00 2001 From: John Bednarczyk Date: Wed, 12 Jan 2022 22:00:01 -0600 Subject: [PATCH 1/2] change swagger-js wrapActions to js object --- src/core/plugins/swagger-js/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/plugins/swagger-js/index.js b/src/core/plugins/swagger-js/index.js index 3944d680cb6..a13f65296b2 100644 --- a/src/core/plugins/swagger-js/index.js +++ b/src/core/plugins/swagger-js/index.js @@ -30,7 +30,9 @@ export default function({ configs, getConfigs }) { }, statePlugins: { configs: { - wrapActions: configsWrapActions + wrapActions: { + configsWrapActions + } } }, } From 6b979a2afe229c882a49ba2850934ba58433b819 Mon Sep 17 00:00:00 2001 From: Vladimir Gorej Date: Wed, 26 Jan 2022 12:40:51 +0100 Subject: [PATCH 2/2] Update index.js --- src/core/plugins/swagger-js/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/plugins/swagger-js/index.js b/src/core/plugins/swagger-js/index.js index a13f65296b2..cf08cf01df5 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 { @@ -31,7 +31,7 @@ export default function({ configs, getConfigs }) { statePlugins: { configs: { wrapActions: { - configsWrapActions + loaded, } } },