Skip to content

Commit

Permalink
Merge pull request #1206 from ashitsalesforce/master
Browse files Browse the repository at this point in the history
fix for W-16422132
  • Loading branch information
ashitsalesforce committed Aug 5, 2024
2 parents 38a2be8 + 1b8e8ab commit d8dbb1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ public JobInfo createJob(JobInfo job) throws AsyncApiException {

HashMap<String, Object> requestBodyMap = new HashMap<String, Object>();
requestBodyMap.put("operation", job.getOperation().toString());
if (operation.equals(OperationEnum.query)) {
if (controller.getConfig().getOperationInfo().isExtraction()) {
headers = getHeaders(JSON_CONTENT_TYPE, CSV_CONTENT_TYPE);
requestBodyMap.put("query", job.getObject());
} else {
Expand Down

0 comments on commit d8dbb1f

Please sign in to comment.