DB profile: always use rtMode: HYBRID

This commit is contained in:
Jannis R 2019-11-18 18:30:50 +01:00
parent df943252b6
commit 105c18b30d
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -15,6 +15,11 @@ const products = require('./products')
const formatLoyaltyCard = require('./loyalty-cards').format const formatLoyaltyCard = require('./loyalty-cards').format
const transformReqBody = (body) => { 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.client = {id: 'DB', v: '16040000', type: 'IPH', name: 'DB Navigator'}
body.ext = 'DB.R19.04.a' body.ext = 'DB.R19.04.a'
body.ver = '1.16' body.ver = '1.16'