Skip to content

Commit f12b66a

Browse files
Fix double handleResponse() bug for nextCursorPage (intercom#323)
Solves the same issue as intercom#318 but for the nextCursorPage method. intercom#318 Co-authored-by: Gabriel Anca Corral <[email protected]>
1 parent f811f37 commit f12b66a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/IntercomClient.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,7 @@ public function nextSearchPage(string $path, array $query, $pages)
296296
*/
297297
public function nextCursorPage(string $path, string $startingAfter)
298298
{
299-
$response = $this->get($path . "?starting_after=" . $startingAfter);
300-
return $this->handleResponse($response);
299+
return $this->get($path . "?starting_after=" . $startingAfter);
301300
}
302301

303302
/**

0 commit comments

Comments
 (0)