Skip to content

Commit

Permalink
Merge branch 'patch-1' of https://github.com/frol/swagger-js into fro…
Browse files Browse the repository at this point in the history
…l-patch-1
  • Loading branch information
fehguy committed Nov 22, 2016
2 parents c8436a4 + 1bc499e commit 19bb24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ SwaggerClient.prototype.buildFromSpec = function (response) {
for(var ext in securityDefinition) {
helpers.extractExtensions(ext, securityDefinition);
if (ext === 'scopes') {
var scopes = securityDefinition[ext];
var scopes = _.cloneDeep(securityDefinition[ext]);
if(typeof scopes === 'object') {
scopes.vendorExtensions = {};
for (var s in scopes) {
Expand Down

0 comments on commit 19bb24c

Please # to comment.