We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4feda9a commit 9531443Copy full SHA for 9531443
lib/auth.js
@@ -131,7 +131,7 @@ internals.Auth.prototype._setupRoute = function (options, path) {
131
}
132
133
for (var i = 0, il = options.scope.length; i < il; ++i) {
134
- if (/{([^{}]+)}/g.test(options.scope[i])) {
+ if (/{([^}]+)}/g.test(options.scope[i])) {
135
options.hasScopeParameters = true;
136
break;
137
@@ -294,7 +294,7 @@ internals.Auth.prototype._authenticate = function (request, next) {
294
};
295
296
for (var i = 0, il = config.scope.length; i < il; ++i) {
297
- config.scope[i] = config.scope[i].replace(/{([^{}]+)}/g, expandScope);
+ config.scope[i] = config.scope[i].replace(/{([^}]+)}/g, expandScope);
298
299
300
0 commit comments