lint: lib/auth/openid/index.ts

unused vars

Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
Raccoon 2021-06-13 15:09:26 +08:00
parent 8f0337af7d
commit 08fb6855f9
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38

View File

@ -24,7 +24,7 @@ passport.use(new OpenIDStrategy({
defaults: {
profile: stringifiedProfile
}
}).spread(function (user, created) {
}).spread(function (user) {
if (user) {
let needSave = false
if (user.profile !== stringifiedProfile) {