From 5e5a376d8cee0fb58eeeca9ca93e1da900895713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Pr=C3=B6schel?= Date: Tue, 11 May 2021 10:57:31 +0200 Subject: [PATCH] Fix config camel key mapping --- lib/typescript/httpclient/src/endpoints/getConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/typescript/httpclient/src/endpoints/getConfig.ts b/lib/typescript/httpclient/src/endpoints/getConfig.ts index 0062d8642a..7c8d51c510 100644 --- a/lib/typescript/httpclient/src/endpoints/getConfig.ts +++ b/lib/typescript/httpclient/src/endpoints/getConfig.ts @@ -3,5 +3,5 @@ const camelcaseKeys = require('camelcase-keys'); export const getConfigDef = { endpoint: 'client.config', - mapResponse: response => camelcaseKeys(response, {deep: true}), + mapResponse: response => camelcaseKeys(response, {deep: true, stopPaths: ['components']}), };