mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
update CMTA credentials
This commit is contained in:
parent
1eeb0d7bd7
commit
dafc96ad11
1 changed files with 4 additions and 6 deletions
|
@ -4,15 +4,13 @@ const products = require('./products')
|
||||||
|
|
||||||
const transformReqBody = (body) => {
|
const transformReqBody = (body) => {
|
||||||
body.client = {
|
body.client = {
|
||||||
type: 'WEB',
|
type: 'IPH',
|
||||||
id: 'CMTA',
|
id: 'CMTA',
|
||||||
name: 'webapp',
|
v: '2',
|
||||||
l: '' // todo: what is this?
|
name: 'CapMetro'
|
||||||
}
|
}
|
||||||
body.ext = 'SBB.TZT.1'
|
|
||||||
body.ver = '1.13'
|
body.ver = '1.13'
|
||||||
body.auth = {type: 'AID', aid: 'weblwemrcrlwemlcri'}
|
body.auth = {type: 'AID', aid: 'ioslaskdcndrjcmlsd'}
|
||||||
// todo: `body.id = 'ztgcgxywk88bgm88'`
|
|
||||||
|
|
||||||
return body
|
return body
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue