From 957e6c019e98d9b48edd8352e300b475eaf42452 Mon Sep 17 00:00:00 2001 From: Roberto Milla Martinez Date: Mon, 11 Nov 2024 18:14:42 +0100 Subject: [PATCH] fix: mapping for towns --- src/app/api/address/route.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/api/address/route.ts b/src/app/api/address/route.ts index 5646c6f..31bdb48 100644 --- a/src/app/api/address/route.ts +++ b/src/app/api/address/route.ts @@ -17,6 +17,8 @@ const mapsTranslationToDbTowns: { [key: string]: string } = { València: 'Valencia', Almusafes: 'Almussafes', Montroi: 'Montroy', + Masanasa: 'Massanassa', + Valencia: 'València', }; const GOOGLE_URL = `https://maps.googleapis.com/maps/api/geocode/json?key=${process.env.GEOCODING_API_KEY}&latlng=`;