Skip to content
Snippets Groups Projects

Dto service

Merged Ghost User requested to merge dto-service into piirto2
2 files
+ 14
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -58,6 +58,11 @@ export class GameController {
@@ -58,6 +58,11 @@ export class GameController {
return this.gameservice.joinGroup(person, id);
return this.gameservice.joinGroup(person, id);
}
}
 
@Get('get-faction-members/:id')
 
async getFactionMembers(@Param('id') factionId) {
 
return this. gameservice.listFactionMembers(factionId)
 
}
 
// param game ID is passed to @Roles
// param game ID is passed to @Roles
@Put('promote/:id')
@Put('promote/:id')
@UseGuards(new AuthGuard())
@UseGuards(new AuthGuard())
Loading