Retrait de logs superflus
This commit is contained in:
parent
65576fc5b1
commit
0d96b78c33
@ -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()
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user