Skip to content

Commit

Permalink
removed header from download.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcblogdev committed Jan 27, 2021
1 parent 1b72d74 commit 40c83a5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Resources/Files.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ public function download($path)
$response = $client->post("https://content.dropboxapi.com/2/files/download", [
'headers' => [
'Authorization' => 'Bearer ' . $this->getAccessToken(),
'Content-Type' => 'application/octet-stream',
'Dropbox-API-Arg' => json_encode([
'path' => $path
])
Expand Down

0 comments on commit 40c83a5

Please sign in to comment.