Skip to content

Commit

Permalink
fix: small edit in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shrouti1507 committed Dec 26, 2023
1 parent aca76d8 commit 8c4218b
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 @@ -220,7 +220,7 @@ async function getSalesforceIdFromPayload(

if (!email) {
throw new InstrumentationError('Invalid Email address for Lead Objet');
}
}
const leadQueryUrl = `${authorizationData.instanceUrl}/services/data/v${SF_API_VERSION}/parameterizedSearch/?q=${email}&sobject=Lead&Lead.fields=id,IsConverted,ConvertedContactId,IsDeleted`;

// request configuration will be conditional
Expand Down

0 comments on commit 8c4218b

Please sign in to comment.