Skip to content

Commit

Permalink
fix(game-servers): add missing endpoint for getting all static game s…
Browse files Browse the repository at this point in the history
…ervers (#1574)
  • Loading branch information
garrappachc authored Apr 20, 2022
1 parent 2cbe12d commit d35b832
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/game-servers/controllers/game-servers.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ export class GameServersController {
return await this.gameServersService.getById(gameServerId);
}

/** TODO v9.0 remove */
@Get()
@UseInterceptors(ClassSerializerInterceptor)
async getAllGameServers() {
return await this.staticGameServersService.getAllGameServers();
}

/** TODO v9.0 remove */
@Post()
@Secret(SecretPurpose.gameServer)
Expand Down

0 comments on commit d35b832

Please sign in to comment.