Skip to content

Commit 1674967

Browse files
authored
Update Client.php
1 parent 2837dd3 commit 1674967

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Client.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -555,10 +555,7 @@ public function upload($path)
555555
{
556556
$headers = $this->getApiHeaders();
557557
unset($headers['Content-Type']);
558-
//$headers = [];
559-
if ($this->isUsingTokenParam()) {
560-
//
561-
} else {
558+
if (!$this->isUsingTokenParam()) {
562559
$headers['Authorization'] = 'Bearer ' . $this->accessToken->getToken();
563560
}
564561
$guzzle = new GuzzleClient([

0 commit comments

Comments
 (0)