mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
fix types issue
This commit is contained in:
1 parent
ec63bba0fe
commit
807974d727
15 files changed
+49
-25
No files matched your search
@@ -3,7 +3,7 @@ import { Strategy as GoogleStrategy } from 'passport-google-oidc'
|
||||
import config from '../config.js'
|
||||
import oauthVerify from './oauthVerify.js'
|
||||
|
||||
function verify(issuer: string, profile: any, cb: any) {
|
||||
function verify(profile: any, cb: any) {
|
||||
oauthVerify('google', profile, { 'socialLogins.google.id': profile.id }, cb)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user