Skip to content
Snippets Groups Projects

Development to testing

Merged Ghost User requested to merge Development into testing
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -24,14 +24,14 @@ import { GamePerson } from 'src/game/gameperson.decorator';
@@ -24,14 +24,14 @@ import { GamePerson } from 'src/game/gameperson.decorator';
/// MapDrawingDTO data to database. ///
/// MapDrawingDTO data to database. ///
/// Data return functions require atleast spectator role. ///
/// Data return functions require atleast spectator role. ///
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
@Controller('draw')
@Controller('draw')
export class DrawController {
export class DrawController {
constructor(private drawService: DrawService) {}
constructor(private drawService: DrawService) {}
@Put('mapdrawing/:id')
@Put('mapdrawing/:id')
@Roles('admin', 'factionleader')
@Roles('admin', 'factionleader')
@GameStates('CREATED', 'STARTED')
@GameStates('CREATED', 'STARTED', 'PAUSED')
@UsePipes(new ValidationPipe())
@UsePipes(new ValidationPipe())
async draw(
async draw(
@GamePerson() gameperson,
@GamePerson() gameperson,
Loading