Skip to content

Commit 092d1e2

Browse files
authored
Fix bug where handleResponse() is called twice (intercom#318)
You'll probably want better tests here....
1 parent acb9f20 commit 092d1e2

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
@@ -284,8 +284,7 @@ public function nextSearchPage(string $path, array $query, $pages)
284284
"starting_after" => $pages->next->starting_after,
285285
]
286286
];
287-
$response = $this->post($path, $options);
288-
return $this->handleResponse($response);
287+
return $this->post($path, $options);
289288
}
290289

291290
/**

0 commit comments

Comments
 (0)