Move initOAuth attacher out of core constructor

This commit is contained in:
Kyle Shockey
2017-12-15 14:16:44 -08:00
parent c1ae4c133d
commit 2dd25abbdd
2 changed files with 3 additions and 2 deletions

View File

@@ -104,8 +104,6 @@ module.exports = function SwaggerUI(opts) {
var system = store.getSystem()
system.initOAuth = system.authActions.configureAuth
const downloadSpec = (fetchedConfig) => {
if(typeof constructorConfig !== "object") {
return system