Skip to content

Commit

Permalink
chore: small fixes+1
Browse files Browse the repository at this point in the history
  • Loading branch information
anantjain45823 committed Jun 28, 2024
1 parent 9365673 commit 2a247f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v0/destinations/diy/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const trackResponseBuilder = (message, destination) => {
const { endpoint, method, headers, queryParams, pathVariables, mappings, batchSize } = request;
const headersObject = handleMappings(message, headers, 'value', 'key');
const params = handleMappings(message, queryParams, 'value', 'key');
const pathVariablesObj = getHashFromArray(pathVariables, 'pathVariable', 'pathValue', false);
const pathVariablesObj = getHashFromArray(pathVariables, 'name', 'pathValue', false);
const payload = handleMappings(message, mappings);
payload.maxBatchSize = batchSize;
const updatedEndpoint = endpoint.replace(/{(\w+)}/g, (_, key) => {
Expand Down

0 comments on commit 2a247f7

Please sign in to comment.