mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
parent
216102763d
commit
c10f31811a
1 changed files with 4 additions and 1 deletions
5
index.js
5
index.js
|
@ -259,7 +259,10 @@ const createClient = (profile, userAgent, opt = {}) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const ctx = {profile, opt, common, res}
|
const ctx = {profile, opt, common, res}
|
||||||
return profile.parseJourney(ctx, res.outConL[0])
|
return {
|
||||||
|
realtimeDataFrom: res.planrtTS ? parseInt(res.planrtTS) : null,
|
||||||
|
...profile.parseJourney(ctx, res.outConL[0])
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue