diff --git a/src/mapmarkers/mapmarkers.controller.ts b/src/mapmarkers/mapmarkers.controller.ts index 84ecba56781da97ff86195cc1940ae4617edee66..fef971652de596196169251c202378c67902babd 100644 --- a/src/mapmarkers/mapmarkers.controller.ts +++ b/src/mapmarkers/mapmarkers.controller.ts @@ -10,7 +10,7 @@ export class MapMarkersController { constructor(private mapmarkerservice: MapMarkerService){} // Insert figure location, needs "authorization" header with valid Bearer token and content-type json - @Put('insertLocation') + @Put('insert-location') @UseGuards(new AuthGuard()) async insertLocation(@User('id') person, @Body() data: MapMarkerDTO): Promise<string>{ try {