Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
Weird formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Jul 4, 2019
1 parent cbf4827 commit 9516987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/src/util/bus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export function getRelevantBusIncidents(
export function createNearbyStopList(stops: Array<object>): any {
return stops.reduce((obj, item: any) => {
obj[item.StopID] = {};
(obj[item.StopID].synonyms = `Stop ${item.StopID}`),
(obj[item.StopID].title = `Stop ${item.StopID}: ${item.Name}`);
obj[item.StopID].synonyms = `Stop ${item.StopID}`;
obj[item.StopID].title = `Stop ${item.StopID}: ${item.Name}`;
obj[item.StopID].description = `Routes: ${item.Routes.join(', ')}`;
obj[item.StopID].image = new Image({
url:
Expand Down

0 comments on commit 9516987

Please sign in to comment.