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.
completeAuth
1 parent 86465c3 commit 01cd691Copy full SHA for 01cd691
1 file changed
auth.js
@@ -184,7 +184,7 @@ function auth (pluginOptions) {
184
}
185
186
187
- this.completeAuth = function () {
+ this.completeAuth = function completeAuth () {
188
if (that.currentError && (!that.reply.raw.statusCode || that.reply.raw.statusCode < 400)) {
189
that.reply.code(401)
190
} else if (!that.currentError && that.reply.raw.statusCode && that.reply.raw.statusCode >= 400) {
0 commit comments