Skip to content

Commit

Permalink
fix: no-case-declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauravudia committed Apr 15, 2024
1 parent 5085e85 commit e921122
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/v0/destinations/mp/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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/`;
Expand Down

0 comments on commit e921122

Please sign in to comment.