Retrait de logs superflus

This commit is contained in:
Emmy D'Anello 2024-12-08 16:04:00 +01:00
parent 65576fc5b1
commit 0d96b78c33
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 0 additions and 3 deletions

View File

@ -15,7 +15,6 @@ export class JwtStrategy extends PassportStrategy(Strategy, 'jwt') {
} }
async validate(payload: { playerId: number }): Promise<Player> { async validate(payload: { playerId: number }): Promise<Player> {
console.log(payload)
const player = await this.playersService.findOne(payload.playerId) const player = await this.playersService.findOne(payload.playerId)
if (!player) { if (!player) {
throw new UnauthorizedException() throw new UnauthorizedException()

View File

@ -19,7 +19,6 @@ export class ChallengeActionsService {
} }
async findAll(queryPagination: QueryPaginationDto, filterChallengeActions: FilterChallengeActionsDto): Promise<[ChallengeAction[], number]> { async findAll(queryPagination: QueryPaginationDto, filterChallengeActions: FilterChallengeActionsDto): Promise<[ChallengeAction[], number]> {
console.log(filterChallengeActions)
return [ return [
await this.prisma.challengeAction.findMany({ await this.prisma.challengeAction.findMany({
...paginate(queryPagination), ...paginate(queryPagination),
@ -36,7 +35,6 @@ export class ChallengeActionsService {
} }
async update(id: number, updateChallengeActionDto: UpdateChallengeActionDto): Promise<ChallengeAction> { async update(id: number, updateChallengeActionDto: UpdateChallengeActionDto): Promise<ChallengeAction> {
console.log(updateChallengeActionDto)
return await this.prisma.challengeAction.update({ return await this.prisma.challengeAction.update({
where: { id }, where: { id },
data: updateChallengeActionDto, data: updateChallengeActionDto,