Skip to content

Commit

Permalink
Clear content when getting image thumbnail after upload
Browse files Browse the repository at this point in the history
  • Loading branch information
srmklive committed Oct 20, 2017
1 parent 232b7da commit 4d46205
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Client/DropboxClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ public function getThumbnail($path, $format = 'jpeg', $size = 'w64h64')

$this->apiEndpoint = 'files/get_thumbnail';

$this->content = null;

$response = $this->doDropboxApiContentRequest();

return (string) $response->getBody();
Expand Down

0 comments on commit 4d46205

Please sign in to comment.