Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.

Commit

Permalink
Merge pull request #7 from yatsenkolesh/master
Browse files Browse the repository at this point in the history
listContents exception fix (#1)

- I appreciate the fix.
  • Loading branch information
ryanvade authored Nov 26, 2018
2 parents 3d3c8a6 + 9a85210 commit ae8023b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BoxAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public function listContents($directory = '', $recursive = false): array
$limit = 1000;
$items = array();
do {
$resp = $this->client->getFolderItems($path, $offset, $limit);
$resp = $this->client->getFolderItems($path, [], $offset, $limit);

if ($resp->isError()) {
return false;
Expand Down

0 comments on commit ae8023b

Please sign in to comment.