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

requires database coordination

parent 2e738047
No related branches found
No related tags found
2 merge requests!59Development to master,!18Join game
......@@ -32,7 +32,6 @@ export class MapMarkersController {
}
@Get('test')
async test(){
try {
return this.mapmarkerservice.test();
......@@ -41,10 +40,9 @@ export class MapMarkersController {
}
}
@Get('testroles')
@Roles('admin')
@Roles('gm')
async testroles(){
try {
return Roles.toString();
return this.mapmarkerservice.test();
} catch (error) {
return error.message;
......
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