Skip to content
Snippets Groups Projects
Commit 92e5febd authored by L4721's avatar L4721
Browse files

Update mapmarker.service.ts

parent 14483bc8
No related branches found
No related tags found
3 merge requests!59Development to master,!9Development,!7Geo json2
...@@ -15,10 +15,10 @@ export class MapMarkerService { ...@@ -15,10 +15,10 @@ export class MapMarkerService {
@InjectRepository(PersonEntity) private personRepository: Repository<PersonEntity> @InjectRepository(PersonEntity) private personRepository: Repository<PersonEntity>
) { } ) { }
// insert markersasd // insert markers
async insertLocation(personId: string, data: MapMarkerDTO) { async insertLocation(personId: string, data: MapMarkerDTO) {
try { try {
const asd = 2;
//get functions runtime as timestamp //get functions runtime as timestamp
data.timestamp = new Date(Date.now()).toLocaleString(); data.timestamp = new Date(Date.now()).toLocaleString();
//check from database for the user who uploads the data //check from database for the user who uploads the data
......
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