Skip to content

Commit

Permalink
Reset next link on each request
Browse files Browse the repository at this point in the history
  • Loading branch information
phpfui committed Mar 8, 2024
1 parent 19e7398 commit c423f74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ConstantContact/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ private function getHeaders(array $additional = []) : array

private function process(\Psr\Http\Message\ResponseInterface $response) : array
{
$this->next = '';
$this->lastError = $response->getReasonPhrase();
$this->statusCode = $response->getStatusCode();
$this->body = $response->getBody();
Expand Down

0 comments on commit c423f74

Please sign in to comment.