Skip to content
Snippets Groups Projects
Commit 43ab21fa authored by L4168's avatar L4168
Browse files

permit drawing in PAUSED state

parent 632f8cc4
No related branches found
No related tags found
2 merge requests!59Development to master,!58Development to testing
......@@ -24,14 +24,14 @@ import { GamePerson } from 'src/game/gameperson.decorator';
/// MapDrawingDTO data to database. ///
/// Data return functions require atleast spectator role. ///
//////////////////////////////////////////////////////////////////////////
@Controller('draw')
export class DrawController {
constructor(private drawService: DrawService) {}
@Put('mapdrawing/:id')
@Roles('admin', 'factionleader')
@GameStates('CREATED', 'STARTED')
@GameStates('CREATED', 'STARTED', 'PAUSED')
@UsePipes(new ValidationPipe())
async draw(
@GamePerson() gameperson,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment