added type

This commit is contained in:
Igor Hrenowitsch Propisnov 2024-05-04 23:32:09 +02:00
parent af29a4682c
commit 6e4cc17e34
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export class RefreshTokenStrategy extends PassportStrategy(
}
public async validate(req: Request, payload: any) {
const refresh_token = req
const refresh_token: string = req
?.get('authorization')
?.replace('Bearer', '')
.trim();