Skip to content

Commit

Permalink
use correct name for location
Browse files Browse the repository at this point in the history
  • Loading branch information
gillohner committed Oct 5, 2024
1 parent 929656a commit 0c25808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/meetupHandlers/meetupSuggestionHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ const handleConfirmLocation = (bot, callbackQuery) => {
const locationData = userStates[chatId].tempLocation.data;
const lat = locationData.lat;
const lon = locationData.lon;
const locationName = locationData.locationName;
const locationName = locationData.name;
const googleMapsLink = `https://www.google.com/maps/search/?api=1&query=${lat},${lon}&query_place_id=${locationName}`;
const osmLink = `https://www.openstreetmap.org/${locationData.osm_type}/${locationData.osm_id}`;
const appleMapsLink = `http://maps.apple.com/?q=${locationName}&ll=${lat},${lon}`;
Expand Down

0 comments on commit 0c25808

Please sign in to comment.