Skip to content

Commit 8ecf87d

Browse files
committed
BVG: remove hard-coded "OEV" filter
Not sure what it does, I couldn't find any effects on the sets of computed journeys, so we'll send a more lean request.
1 parent d728dd8 commit 8ecf87d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

p/bvg/index.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,20 +90,13 @@ const parseJourneyLegWithOccupancy = ({parsed}, leg, date) => {
9090
return parsed;
9191
};
9292

93-
const requestJourneysWithOEVGroup = ({opt}, query) => {
94-
query.jnyFltrL.push({type: 'GROUP', mode: 'INC', value: 'OEV'});
95-
return query;
96-
};
97-
9893
// todo: adapt/extend `vbb-parse-ticket` to support the BVG markup
9994

10095
const profile = {
10196
...baseProfile,
10297
locale: 'de-DE',
10398
timezone: 'Europe/Berlin',
10499

105-
transformJourneysQuery: requestJourneysWithOEVGroup,
106-
107100
products,
108101

109102
parseLocation: parseHook(_parseLocation, parseLocation),

0 commit comments

Comments
 (0)