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