diff --git a/p/cfl/index.js b/p/cfl/index.js index 73c03302..ea768c7a 100644 --- a/p/cfl/index.js +++ b/p/cfl/index.js @@ -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, diff --git a/p/irish-rail/index.js b/p/irish-rail/index.js index 01e55d9d..d0299af6 100644 --- a/p/irish-rail/index.js +++ b/p/irish-rail/index.js @@ -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,