Skip to content

Commit

Permalink
SfdcClient.getCampaignsByNames was double escaping quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
brmeyer committed Jul 20, 2023
1 parent b60737f commit 346c594
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ public Optional<SObject> getCampaignByName(String campaignName, String... extraF
return querySingle(query);
}
public List<SObject> getCampaignsByNames(List<String> names, String... extraFields) throws ConnectionException, InterruptedException {
names = names.stream().map(n -> n.replaceAll("'", "\\\\'")).collect(Collectors.toList());
return getBulkResults(names, "Name", "Campaign", CAMPAIGN_FIELDS, env.getConfig().salesforce.customQueryFields.campaign, extraFields);
}

Expand Down

0 comments on commit 346c594

Please sign in to comment.