stable: mapping v1.0 restored and verified

This commit is contained in:
Hamza-Ayed
2026-03-28 04:26:45 +03:00
parent 592af8ce5c
commit 12a206ae85
3 changed files with 51 additions and 2 deletions
@@ -38,6 +38,12 @@ export class GeocodingController {
return this.geocodingService.addPlace(placeData);
}
@Post('upsert-place')
@ApiOperation({ summary: 'Add or Update a location (Automated Scraper)' })
async upsertPlace(@Body() placeData: any) {
return this.geocodingService.upsertPlace(placeData);
}
@Get('places')
@ApiOperation({ summary: 'Get recent user submitted places' })
async getPlaces(@Query('limit') limit?: number) {