mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
parent
1afe4caf41
commit
b8496be1a3
1 changed files with 1 additions and 1 deletions
|
@ -100,6 +100,7 @@ const createParseJourney = (profile, opt, data) => {
|
|||
const parseJourneyWithPrice = (j) => {
|
||||
const res = parseJourney(j)
|
||||
|
||||
res.price = null
|
||||
// todo: find cheapest, find discounts
|
||||
// todo: write a parser like vbb-parse-ticket
|
||||
// [ {
|
||||
|
@ -110,7 +111,6 @@ const createParseJourney = (profile, opt, data) => {
|
|||
// targetCtx: 'D',
|
||||
// buttonText: 'To offer selection'
|
||||
// } ]
|
||||
res.price = {amount: null, hint: 'No pricing information available.'}
|
||||
if (
|
||||
j.trfRes &&
|
||||
Array.isArray(j.trfRes.fareSetL) &&
|
||||
|
|
Loading…
Add table
Reference in a new issue