Skip to content

Commit

Permalink
refactor(config): fix naming of system options (swagger-api#9917)
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n authored May 7, 2024
1 parent e998bed commit 33555e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ function SwaggerUI(userOptions) {
userOptions,
queryOptions
)
const storeOptions = systemOptionsFactorization(mergedOptions)
const systemOptions = systemOptionsFactorization(mergedOptions)
const InlinePlugin = inlinePluginOptionsFactorization(mergedOptions)

const unboundSystem = new System(storeOptions)
const unboundSystem = new System(systemOptions)
unboundSystem.register([mergedOptions.plugins, InlinePlugin])
const system = unboundSystem.getSystem()

Expand Down

0 comments on commit 33555e9

Please sign in to comment.