Skip to content
Snippets Groups Projects

Geo json2

Merged Ghost User requested to merge GeoJSON2 into Development
@@ -2,13 +2,13 @@ import { Controller, Body, Get, Put, UseGuards } from '@nestjs/common';
import { MapMarkerService } from './mapmarker.service';
import { MapMarkerDTO } from './mapmarker.dto';
import { AuthGuard } from 'dist/shared/auth.guard';
import { User } from 'src/user/user.decorator';
import { AuthGuard } from '../shared/auth.guard';
import { User } from '../user/user.decorator';
@Controller('mapmarkers')
export class MapMarkersController {
constructor(private mapmarkerservice: MapMarkerService){}
// Insert figure location, needs "authorization" header with valid Bearer token and content-type json
@Put('insertLocation')
@UseGuards(new AuthGuard())
Loading