Skip to content

Commit

Permalink
fix: getPublishResources / UnauthorizedException
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-theripper committed Nov 21, 2022
1 parent ed525d7 commit 5bb8405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Disk.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ public function getPublishResource($public_key, $limit = 20, $offset = 0)
public function getPublishResources($limit = 20, $offset = 0)
{
$callback = function ($parameters) {
$previous = $this->setAccessTokenRequired(false);
$previous = $this->setAccessTokenRequired(true);
$response = $this->send(
new Request(
$this->uri
Expand Down

0 comments on commit 5bb8405

Please sign in to comment.