Skip to content

Commit 01cd691

Browse files
authored
refactor(auth): name completeAuth function (#272)
1 parent 86465c3 commit 01cd691

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ function auth (pluginOptions) {
184184
}
185185
}
186186

187-
this.completeAuth = function () {
187+
this.completeAuth = function completeAuth () {
188188
if (that.currentError && (!that.reply.raw.statusCode || that.reply.raw.statusCode < 400)) {
189189
that.reply.code(401)
190190
} else if (!that.currentError && that.reply.raw.statusCode && that.reply.raw.statusCode >= 400) {

0 commit comments

Comments
 (0)