diff --git a/src/server/services/bag.ts b/src/server/services/bag.ts index d2a8441a7..803509171 100644 --- a/src/server/services/bag.ts +++ b/src/server/services/bag.ts @@ -41,7 +41,7 @@ export async function fetchBAG( const firstItem = data[0]; const latlng = getLatLngCoordinates( - first_item.adresseerbaarObjectPuntGeometrieWgs84.coordinates + firstItem.adresseerbaarObjectPuntGeometrieWgs84.coordinates ); return { latlng,