added type
This commit is contained in:
parent
af29a4682c
commit
6e4cc17e34
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue