Skip to content

Commit 7f7919d

Browse files
authored
Merge pull request #87 from fschirinzi/feature/fix-pagination-for-search
Search Endpoint: Fix cursor not passed correctly
2 parents c8be31c + 40354b6 commit 7f7919d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Endpoints/Search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function query(): EntityCollection
6161
}
6262

6363
if ($this->startCursor !== null) {
64-
$postData['start_cursor'] = $this->startCursor;
64+
$postData['start_cursor'] = $this->startCursor->__toString();
6565
}
6666

6767
if ($this->pageSize !== null) {

0 commit comments

Comments
 (0)