diff --git a/src/main/java/com/impactupgrade/nucleus/client/SfdcClient.java b/src/main/java/com/impactupgrade/nucleus/client/SfdcClient.java index 2af6194fc..85964f948 100644 --- a/src/main/java/com/impactupgrade/nucleus/client/SfdcClient.java +++ b/src/main/java/com/impactupgrade/nucleus/client/SfdcClient.java @@ -181,7 +181,6 @@ public Optional getCampaignByName(String campaignName, String... extraF return querySingle(query); } public List getCampaignsByNames(List 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); }