Skip to content

Commit

Permalink
feat(core-utils): Add gtfsId to GraphQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
amy-corson-ibigroup committed Oct 4, 2023
1 parent f3cfcb8 commit 545062e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-utils/src/itinerary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ export const convertGraphQLResponseToLegacy = (leg: any): any => ({
},
route: leg.route?.shortName,
routeColor: leg.route?.color,
routeId: leg.route?.id,
routeId: leg.route?.gtfsId,
routeLongName: leg.route?.longName,
routeShortName: leg.route?.shortName,
routeTextColor: leg.route?.textColor,
Expand Down
1 change: 1 addition & 0 deletions packages/core-utils/src/planQuery.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ query Plan(
id
}
color
gtfsId
id
longName
shortName
Expand Down

0 comments on commit 545062e

Please sign in to comment.