CFL, Irish Rail: transformReqBody -> defaultLanguage

This commit is contained in:
Jannis R 2022-04-29 00:19:54 +02:00
parent 492cb7dfbc
commit 4aa5f1de85
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
2 changed files with 2 additions and 12 deletions

View file

@ -3,16 +3,11 @@
const baseProfile = require('./base.json')
const products = require('./products')
const transformReqBody = (ctx, body) => {
body.lang = 'de'
return body
}
const cflProfile = {
...baseProfile,
locale: 'de-LU',
timezone: 'Europe/Luxembourg',
transformReqBody,
defaultLanguage: 'de',
products: products,

View file

@ -3,16 +3,11 @@
const baseProfile = require('./base.json')
const products = require('./products')
const transformReqBody = (ctx, body) => {
body.lang = 'ga'
return body
}
const irishRailProfile = {
...baseProfile,
locale: 'en-IE',
timezone: 'Europe/Dublin',
transformReqBody,
defaultLanguage: 'ga',
salt: Buffer.from('i5s7m3q9z6b4k1c2', 'utf8'),
addMicMac: true,