Skip to content
Snippets Groups Projects
Commit 8c8b4940 authored by L4168's avatar L4168
Browse files

fixed route url

parent 9254070b
No related branches found
No related tags found
2 merge requests!59Development to master,!18Join game
...@@ -10,7 +10,7 @@ export class MapMarkersController { ...@@ -10,7 +10,7 @@ export class MapMarkersController {
constructor(private mapmarkerservice: MapMarkerService){} constructor(private mapmarkerservice: MapMarkerService){}
// Insert figure location, needs "authorization" header with valid Bearer token and content-type json // Insert figure location, needs "authorization" header with valid Bearer token and content-type json
@Put('insertLocation') @Put('insert-location')
@UseGuards(new AuthGuard()) @UseGuards(new AuthGuard())
async insertLocation(@User('id') person, @Body() data: MapMarkerDTO): Promise<string>{ async insertLocation(@User('id') person, @Body() data: MapMarkerDTO): Promise<string>{
try { try {
......
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