diff --git a/src/mapmarkers/mapmarker.service.ts b/src/mapmarkers/mapmarker.service.ts index 35abab5020bb12e1c07c0ed3dc4dbba849f1b610..9e0167075f46f6d68a34afa0f5bc421e21699d7e 100644 --- a/src/mapmarkers/mapmarker.service.ts +++ b/src/mapmarkers/mapmarker.service.ts @@ -15,10 +15,10 @@ export class MapMarkerService { @InjectRepository(PersonEntity) private personRepository: Repository<PersonEntity> ) { } - // insert markersasd + // insert markers async insertLocation(personId: string, data: MapMarkerDTO) { try { - const asd = 2; + //get functions runtime as timestamp data.timestamp = new Date(Date.now()).toLocaleString(); //check from database for the user who uploads the data