Skip to content

Commit

Permalink
fix: actually use v6 for occupancy
Browse files Browse the repository at this point in the history
  • Loading branch information
marudor committed Jan 21, 2025
1 parent 86115e2 commit fb3ae47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bahnde/occupancy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ async function getRelevantSegment(
},
time,
maxChanges: 0,
useV6: true,
});

const relevantSegments = trips.routes
Expand Down Expand Up @@ -97,7 +98,7 @@ export async function fullBahnDeOccupancy(journeyId: string) {
) {
return;
}
const bahnDeDetails = await bahnJourneyDetails(relevantSegment.jid);
const bahnDeDetails = await bahnJourneyDetails(relevantSegment.jid, true);
if (!bahnDeDetails) {
return;
}
Expand Down

0 comments on commit fb3ae47

Please sign in to comment.