We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d02dbd0 commit c14b78cCopy full SHA for c14b78c
1 file changed
Atomx/Resources/Report.php
@@ -32,17 +32,16 @@ public function isReady($report)
32
public function download($report)
33
{
34
$reportId = $report['report']['id'];
35
- $stream = Stream::factory();
36
37
$this->returnStream = true;
38
39
$stream = $this->getUrl('report/' . $reportId, [], [
40
-// 'save_to' => $stream,
41
// 'timeout' => 0,
42
// 'connect_timeout' => 0
43
]);
44
45
$this->returnStream = false;
+
46
return new ReportStreamer($stream);
47
}
48
@@ -60,4 +59,4 @@ protected function handleResponse(Response $response)
60
59
throw new ApiException('Request failed, received the following status: ' .
61
$response->getStatusCode() . ' Body: ' . $response->getBody()->getContents());
62
63
-}
+}
0 commit comments