mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
parseJourney: use parseJourneyLeg from profile 🐛
This commit is contained in:
parent
98139f9210
commit
cfd79b1be1
1 changed files with 1 additions and 3 deletions
|
@ -1,11 +1,9 @@
|
|||
'use strict'
|
||||
|
||||
const createParseJourneyLeg = require('./journey-leg')
|
||||
|
||||
const clone = obj => Object.assign({}, obj)
|
||||
|
||||
const createParseJourney = (profile, stations, lines, remarks) => {
|
||||
const parseLeg = createParseJourneyLeg(profile, stations, lines, remarks)
|
||||
const parseLeg = profile.parseJourneyLeg(profile, stations, lines, remarks)
|
||||
|
||||
// todo: c.sDays
|
||||
// todo: c.dep.dProgType, c.arr.dProgType
|
||||
|
|
Loading…
Add table
Reference in a new issue