We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d26818 commit 3c6f193Copy full SHA for 3c6f193
1 file changed
src/Endpoints/BaseEndpoint.php
@@ -56,7 +56,7 @@ protected function performApiCall(string $httpMethod, string $apiMethod, ?string
56
$this->getRequestHeaders($requestHeaders)
57
);
58
59
- if (collect($response->getHeader('Content-Type'))->first() == 'application/octet-stream') {
+ if (collect($response->getHeader('Content-Type'))->first() == 'application/pdf') {
60
return $response->getBody()->getContents();
61
}
62
0 commit comments