Skip to content

Commit 3ecf1d0

Browse files
author
Chris Campbell
committed
Removes save_to header entry as it's uncessary and raises an exception
1 parent 9032e7e commit 3ecf1d0

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/Bulk/Client.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,7 @@ public function getResult(JobInfo $job, string $batchId, string $resultId): Stre
326326
$response = $this->send(
327327
new Request(
328328
"GET",
329-
"$basePath/{$job->getId()}/batch/$batchId/result/$resultId",
330-
[
331-
'save_to' => stream_for(fopen('php://temp', 'w')),
332-
]
329+
"$basePath/{$job->getId()}/batch/$batchId/result/$resultId"
333330
)
334331
);
335332

0 commit comments

Comments
 (0)