Si un défi était en cours lors d'une capture, on le clôt

This commit is contained in:
2024-12-08 22:40:51 +01:00
parent 31c44eab6e
commit 50a9f3369c
2 changed files with 17 additions and 0 deletions

View File

@ -39,6 +39,7 @@ export class GameController {
* Change de joueur⋅se en course après une capture
*
* @throws {401} Non authentifié⋅e
* @throws {409} La partie n'est pas démarrée
*/
@Post('/switch-running-player')
@UseGuards(JwtAuthGuard)