diff --git a/src/v0/destinations/mp/transform.js b/src/v0/destinations/mp/transform.js index 43e3c4b376..195c42fbee 100644 --- a/src/v0/destinations/mp/transform.js +++ b/src/v0/destinations/mp/transform.js @@ -86,8 +86,7 @@ const responseBuilderSimple = (payload, message, eventType, destConfig) => { }; break; } - case 'merge': - // eslint-disable-next-line no-case-declarations + case 'merge': { const credentials = setImportCredentials(destConfig); response.endpoint = credentials.endpoint; response.headers = credentials.headers; @@ -96,6 +95,7 @@ const responseBuilderSimple = (payload, message, eventType, destConfig) => { strict: credentials.params.strict, }; break; + } default: response.endpoint = dataResidency === 'eu' ? `${BASE_ENDPOINT_EU}/engage/` : `${BASE_ENDPOINT}/engage/`;