mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
DB profile: always use rtMode: HYBRID
This commit is contained in:
parent
df943252b6
commit
105c18b30d
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,11 @@ const products = require('./products')
|
|||
const formatLoyaltyCard = require('./loyalty-cards').format
|
||||
|
||||
const transformReqBody = (body) => {
|
||||
const req = body.svcReqL[0] || {}
|
||||
|
||||
// see https://pastebin.com/qZ9WS3Cx
|
||||
req.cfg = {...req.cfg, rtMode: 'HYBRID'} // todo: use `REALTIME`?
|
||||
|
||||
body.client = {id: 'DB', v: '16040000', type: 'IPH', name: 'DB Navigator'}
|
||||
body.ext = 'DB.R19.04.a'
|
||||
body.ver = '1.16'
|
||||
|
|
Loading…
Add table
Reference in a new issue