Skip to content

Commit

Permalink
Merge pull request #201 from pedrolivaresanchez/fix/towns-lang-mapping
Browse files Browse the repository at this point in the history
fix: mapping for towns
  • Loading branch information
robertobobby1 authored Nov 11, 2024
2 parents 873362b + 957e6c0 commit a1b4af6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/api/address/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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=`;
Expand Down

0 comments on commit a1b4af6

Please sign in to comment.