Skip to content

Commit 0617f91

Browse files
atinuxmcollina
authored andcommitted
fix: Typo in method name (#22)
getAccessTokenFromAuthorizationCodeFlowPromiseified -> getAccessTokenFromAuthorizationCodeFlowPromisified Keep up the great work :)
1 parent a5af052 commit 0617f91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ const oauthPlugin = fp(function (fastify, options, next) {
8080
cbk(fastify[name], code, callback)
8181
})
8282
}
83-
const getAccessTokenFromAuthorizationCodeFlowPromiseified = promisify(getAccessTokenFromAuthorizationCodeFlowCallbacked)
83+
const getAccessTokenFromAuthorizationCodeFlowPromisified = promisify(getAccessTokenFromAuthorizationCodeFlowCallbacked)
8484

8585
function getAccessTokenFromAuthorizationCodeFlow (request, callback) {
8686
if (!callback) {
87-
return getAccessTokenFromAuthorizationCodeFlowPromiseified(request)
87+
return getAccessTokenFromAuthorizationCodeFlowPromisified(request)
8888
}
8989
getAccessTokenFromAuthorizationCodeFlowCallbacked(request, callback)
9090
}

0 commit comments

Comments
 (0)