Skip to content
Snippets Groups Projects
Commit 2f9badfe authored by Samuli Virtapohja's avatar Samuli Virtapohja
Browse files

Merge branch 'Development' of...

Merge branch 'Development' of gitlab.labranet.jamk.fi:wimma-lab-2019/overflow/ehasa-backend into Development
parents 152724b7 43ab21fa
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