From 40354b66371f00f162ece3ce08ac582c6fbaa2ac Mon Sep 17 00:00:00 2001 From: Francesco Schirinzi Date: Tue, 15 Nov 2022 21:35:41 +0100 Subject: [PATCH] search endpoint: fix cursor not passed correctly --- src/Endpoints/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Endpoints/Search.php b/src/Endpoints/Search.php index a11ae08..ffa65f1 100644 --- a/src/Endpoints/Search.php +++ b/src/Endpoints/Search.php @@ -61,7 +61,7 @@ public function query(): EntityCollection } if ($this->startCursor !== null) { - $postData['start_cursor'] = $this->startCursor; + $postData['start_cursor'] = $this->startCursor->__toString(); } if ($this->pageSize !== null) {