add any to exisingUser result
This commit is contained in:
2
auth.ts
2
auth.ts
@@ -68,7 +68,7 @@ export const {
|
|||||||
async jwt({token}) {
|
async jwt({token}) {
|
||||||
if (!token?.sub) return token
|
if (!token?.sub) return token
|
||||||
|
|
||||||
const exisingUser = await getUserAccountByUserId(token.sub)
|
const exisingUser: any = await getUserAccountByUserId(token.sub)
|
||||||
|
|
||||||
if (!exisingUser) return token
|
if (!exisingUser) return token
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user