Skip to content

Commit

Permalink
Merge pull request #6 from sturman/fix-end-stop
Browse files Browse the repository at this point in the history
fix: fix end stop in reply message
  • Loading branch information
sturman authored Oct 1, 2024
2 parents 1345493 + b3ce067 commit 0a06519
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 0a06519

Please sign in to comment.