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
@@ -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
Loading