Retrait de logs superflus
This commit is contained in:
@ -15,7 +15,6 @@ export class JwtStrategy extends PassportStrategy(Strategy, 'jwt') {
|
||||
}
|
||||
|
||||
async validate(payload: { playerId: number }): Promise<Player> {
|
||||
console.log(payload)
|
||||
const player = await this.playersService.findOne(payload.playerId)
|
||||
if (!player) {
|
||||
throw new UnauthorizedException()
|
||||
|
Reference in New Issue
Block a user