Skip to content

Commit 8ea3cfd

Browse files
authored
fix(plugins): make swagger-js wrapActions overridable (#7753)
Co-authored-by: John Bednarczyk <[email protected]> Co-authored-by: Vladimir Gorej <[email protected]> Refs #7730
1 parent 0650bb4 commit 8ea3cfd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/core/plugins/swagger-js/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { execute, buildRequest } from "swagger-client/es/execute"
33
import Http, { makeHttp, serializeRes } from "swagger-client/es/http"
44
import resolveSubtree from "swagger-client/es/subtree-resolver"
55
import { opId } from "swagger-client/es/helpers"
6-
import * as configsWrapActions from "./configs-wrap-actions"
6+
import { loaded } from "./configs-wrap-actions"
77

88
export default function({ configs, getConfigs }) {
99
return {
@@ -30,7 +30,9 @@ export default function({ configs, getConfigs }) {
3030
},
3131
statePlugins: {
3232
configs: {
33-
wrapActions: configsWrapActions
33+
wrapActions: {
34+
loaded,
35+
}
3436
}
3537
},
3638
}

0 commit comments

Comments
 (0)