From 33555e9e4f8505d7685eb09f004faf253c9f0b46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Gorej?= Date: Tue, 7 May 2024 09:24:16 +0200 Subject: [PATCH] refactor(config): fix naming of system options (#9917) --- src/core/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/index.js b/src/core/index.js index 9a05f1d0dc5..90d6acb711e 100644 --- a/src/core/index.js +++ b/src/core/index.js @@ -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()