Gestion des heures de fin des tentatives

This commit is contained in:
2024-12-08 22:49:47 +01:00
parent 50a9f3369c
commit 33689d9c76
3 changed files with 17 additions and 6 deletions

View File

@ -87,7 +87,7 @@ export class ChallengeActionsService {
active: false,
end: now,
penaltyStart: now,
penaltyEnd: new Date(now.getTime() + 45 * 60 * 1000),
penaltyEnd: new Date(now.getTime() + 30 * 60 * 1000),
}
}
return await this.prisma.challengeAction.update({