diff --git a/src/TrafficManagement/Api/Client.php b/src/TrafficManagement/Api/Client.php index 6a5bcbf..c2368a3 100644 --- a/src/TrafficManagement/Api/Client.php +++ b/src/TrafficManagement/Api/Client.php @@ -145,6 +145,7 @@ protected function apiRequest(Request $request) ); } + $this->lastResponse = null; $this->lastHttpResponse = $httpClient->dispatch($request); if ($this->lastHttpResponse->isSuccess()) { $json = json_decode($this->lastHttpResponse->getBody());