Skip to content

Commit

Permalink
fix: fix end stop in reply message
Browse files Browse the repository at this point in the history
  • Loading branch information
sturman committed Oct 1, 2024
1 parent 1345493 commit b3ce067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/bus-lviv-bot/middleware/lad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const getMessageMarkdown = (stop: Stop) => {
const timetable = stop.timetable;
let routes = '';
timetable?.forEach(route => {
routes += `${convertVehicleTypeToEmoji(route.vehicle_type)} ${route.route} - ${route.time_left} - \u{1F68F} ${route.end_stop_name}\n`;
routes += `${convertVehicleTypeToEmoji(route.vehicle_type)} ${route.route} - ${route.time_left} - \u{1F68F} ${route.end_stop}\n`;
});
return fmt`
${bold(stop.code)}
Expand Down

0 comments on commit b3ce067

Please sign in to comment.