Skip to content
Snippets Groups Projects

Geo json2

Merged Ghost User requested to merge GeoJSON2 into Development
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -4,7 +4,7 @@ import { InjectRepository } from "@nestjs/typeorm";
import { MapMarkerEntity } from './mapmarker.entity';
import { MapMarkerDTO } from './mapmarker.dto';
import { PersonEntity } from 'dist/user/user.entity';
import { PersonEntity } from '../user/user.entity';
import { userInfo } from 'os';
@Injectable()
@@ -18,6 +18,7 @@ export class MapMarkerService {
// insert markers
async insertLocation(personId: string, data: MapMarkerDTO) {
try {
//get functions runtime as timestamp
data.timestamp = new Date(Date.now()).toLocaleString();
//check from database for the user who uploads the data
Loading