qdqsdqds
This commit is contained in:
@@ -66,6 +66,16 @@ export class GameController {
|
|||||||
return this.gameService.acceptInvitation(user, token);
|
return this.gameService.acceptInvitation(user, token);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Get('spectator')
|
||||||
|
@UseGuards(AuthenticateGuard)
|
||||||
|
@UseGuards(TwoFactorGuard)
|
||||||
|
async findWtyatchableMatches()
|
||||||
|
{
|
||||||
|
return this.gameService.findWatchableMatches()
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Get('invitations')
|
@Get('invitations')
|
||||||
@UseGuards(AuthenticateGuard)
|
@UseGuards(AuthenticateGuard)
|
||||||
@UseGuards(TwoFactorGuard)
|
@UseGuards(TwoFactorGuard)
|
||||||
@@ -94,6 +104,9 @@ export class GameController {
|
|||||||
return this.gameService.createGame(creategameDto);
|
return this.gameService.createGame(creategameDto);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Post('gameserver/updategame')
|
@Post('gameserver/updategame')
|
||||||
async updateGame(@Body() updateGameDto : UpdateGameDto)
|
async updateGame(@Body() updateGameDto : UpdateGameDto)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user