diff --git a/auth.js b/auth.js index 236313c..182dba0 100644 --- a/auth.js +++ b/auth.js @@ -184,7 +184,7 @@ function auth (pluginOptions) { } } - this.completeAuth = function () { + this.completeAuth = function completeAuth () { if (that.currentError && (!that.reply.raw.statusCode || that.reply.raw.statusCode < 400)) { that.reply.code(401) } else if (!that.currentError && that.reply.raw.statusCode && that.reply.raw.statusCode >= 400) {