From 0d96b78c33eb56e0a873972cdc055d941f561b80 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sun, 8 Dec 2024 16:04:00 +0100 Subject: [PATCH] Retrait de logs superflus --- server/src/auth/jwt.strategy.ts | 1 - server/src/challenge-actions/challenge-actions.service.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/server/src/auth/jwt.strategy.ts b/server/src/auth/jwt.strategy.ts index 6f41c56..27c8515 100644 --- a/server/src/auth/jwt.strategy.ts +++ b/server/src/auth/jwt.strategy.ts @@ -15,7 +15,6 @@ export class JwtStrategy extends PassportStrategy(Strategy, 'jwt') { } async validate(payload: { playerId: number }): Promise { - console.log(payload) const player = await this.playersService.findOne(payload.playerId) if (!player) { throw new UnauthorizedException() diff --git a/server/src/challenge-actions/challenge-actions.service.ts b/server/src/challenge-actions/challenge-actions.service.ts index 55d1f45..bedc7e6 100644 --- a/server/src/challenge-actions/challenge-actions.service.ts +++ b/server/src/challenge-actions/challenge-actions.service.ts @@ -19,7 +19,6 @@ export class ChallengeActionsService { } async findAll(queryPagination: QueryPaginationDto, filterChallengeActions: FilterChallengeActionsDto): Promise<[ChallengeAction[], number]> { - console.log(filterChallengeActions) return [ await this.prisma.challengeAction.findMany({ ...paginate(queryPagination), @@ -36,7 +35,6 @@ export class ChallengeActionsService { } async update(id: number, updateChallengeActionDto: UpdateChallengeActionDto): Promise { - console.log(updateChallengeActionDto) return await this.prisma.challengeAction.update({ where: { id }, data: updateChallengeActionDto,