updating
This commit is contained in:
@@ -21,7 +21,6 @@ export function getAccountIdFromJwt(req: Request, jwtService: JwtService): strin
|
||||
// const token = authHeader.replace('Bearer ', '')
|
||||
try {
|
||||
const payload = jwtService.decode(token) as AccessTokenPayload
|
||||
console.log(payload)
|
||||
|
||||
return payload?.account_id || null
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user