diff --git a/Express/barAndCafe/src/openTripMaps.ts b/Express/barAndCafe/src/openTripMaps.ts index 7655937..1f7e208 100644 --- a/Express/barAndCafe/src/openTripMaps.ts +++ b/Express/barAndCafe/src/openTripMaps.ts @@ -86,7 +86,7 @@ export async function getRadius(req:express.Request, res: express.Response) { radius = "1000" } - res.send(callRadius(lon,lat,radius as string)) + res.send( await callRadius(lon,lat,radius as string)) } //TODO: fair une route ou l'on donne l'id un établicement pour avoir des détailles