diff --git a/src/mapmarkers/mapmarkers.controller.ts b/src/mapmarkers/mapmarkers.controller.ts index e035f9e865018f0867f63df9abbe430581460ec5..5336584aeb5c254b6c415234ac57fe27838792fe 100644 --- a/src/mapmarkers/mapmarkers.controller.ts +++ b/src/mapmarkers/mapmarkers.controller.ts @@ -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;