mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2026-05-03 07:11:47 +03:00
fix zwischenhalte option possibly being null for dbweb profile
This commit is contained in:
parent
a1537924a9
commit
1feaaf0e55
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ const formatJourneysReq = (ctx, from, to, when, outFrwd, journeysRef) => {
|
|||
abfahrtsHalt: from.lid,
|
||||
zwischenhalte: opt.via
|
||||
? [{id: profile.formatLocation(profile, opt.via, 'opt.via').lid}]
|
||||
: null,
|
||||
: undefined,
|
||||
ankunftsHalt: to.lid,
|
||||
produktgattungen: filters,
|
||||
bikeCarriage: opt.bike,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue