Skip to content

Commit

Permalink
fix(plugins): make swagger-js wrapActions overridable (#7753)
Browse files Browse the repository at this point in the history
Co-authored-by: John Bednarczyk <john.bednarczyk@singlewire.com>
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com>

Refs #7730
  • Loading branch information
Axiloom authored Jan 26, 2022
1 parent 0650bb4 commit 8ea3cfd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/plugins/swagger-js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -30,7 +30,9 @@ export default function({ configs, getConfigs }) {
},
statePlugins: {
configs: {
wrapActions: configsWrapActions
wrapActions: {
loaded,
}
}
},
}
Expand Down

0 comments on commit 8ea3cfd

Please sign in to comment.