Remove global auth object references and fix header api key adding mechanism
Fixes #1033
This commit is contained in:
@@ -53,7 +53,7 @@ window.SwaggerUi = Backbone.Router.extend({
|
||||
|
||||
// Event handler for when the baseUrl/apiKey is entered by user
|
||||
this.headerView.on('update-swagger-ui', function(data) {
|
||||
return this.updateSwaggerUi(data);
|
||||
return that.updateSwaggerUi(data);
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user