Skip to content

Commit

Permalink
fix: remove response comparision typecast
Browse files Browse the repository at this point in the history
  • Loading branch information
yashasvibajpai committed Sep 20, 2024
1 parent 5d79505 commit cf243a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v0/destinations/salesforce/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ async function getSaleforceIdForRecord(
);
}
const searchRecord = processedsfSearchResponse.response?.searchRecords?.find(
(rec) => typeof identifierValue !== 'undefined' && rec[identifierType] === `${identifierValue}`,
(rec) => typeof identifierValue !== 'undefined' && rec[identifierType] === identifierValue,
);

return searchRecord?.Id;
Expand Down

0 comments on commit cf243a6

Please sign in to comment.