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> {
console.log(payload)
const player = await this.playersService.findOne(payload.playerId)
if (!player) {
throw new UnauthorizedException()

View File

@ -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<ChallengeAction> {
console.log(updateChallengeActionDto)
return await this.prisma.challengeAction.update({
where: { id },
data: updateChallengeActionDto,