From 2a2793080649869d38510a2b77fe8d4b2de86d08 Mon Sep 17 00:00:00 2001 From: Peter van Gulik Date: Thu, 14 Dec 2023 18:10:27 +0100 Subject: [PATCH] fix: `IngestJobInfo.getFailedRecords` returns wrong type --- packages/salesforce/src/bulk/bulkIngestJob.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/salesforce/src/bulk/bulkIngestJob.ts b/packages/salesforce/src/bulk/bulkIngestJob.ts index 4b5fcd00..13214639 100644 --- a/packages/salesforce/src/bulk/bulkIngestJob.ts +++ b/packages/salesforce/src/bulk/bulkIngestJob.ts @@ -120,7 +120,7 @@ export class BulkIngestJob extends BulkJob(await this.client.get(`${this.id}/failedResults`))]; + return [...this.resultsToRecords(await this.client.get(`${this.id}/failedResults`))]; } /**