2026-04-14-8 auth and commercial 0

This commit is contained in:
Hamza-Ayed
2026-04-14 21:49:08 +03:00
parent f5b3f9f790
commit 50573eb9d3
2 changed files with 12 additions and 6 deletions
+4 -1
View File
@@ -43,7 +43,10 @@ export class MapsController {
}
const profile = query.profile || 'car';
return this.mapsService.getRoute(waypoints, profile);
const steps = query.steps === 'true';
const locale = query.locale || 'en';
return this.mapsService.getRoute(waypoints, profile, steps, locale);
}
@Get('config')