Skip to content

Commit

Permalink
Re-enables batching in salesforce
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-Ag committed Feb 14, 2025
1 parent 50a7a45 commit 8518921
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,8 @@ export default class Salesforce {
})
}

private closeBulkJob = async (_jobId: string) => {
const fakeId = 'fakeId'
return this.request(`${this.instanceUrl}services/data/${API_VERSION}/jobs/ingest/${fakeId}`, {
private closeBulkJob = async (jobId: string) => {
return this.request(`${this.instanceUrl}services/data/${API_VERSION}/jobs/ingest/${jobId}`, {
method: 'PATCH',
json: {
state: 'UploadComplete'
Expand Down

0 comments on commit 8518921

Please sign in to comment.