diff --git a/src/Api/Services/BaseGeoService.php b/src/Api/Services/BaseGeoService.php index 7132194..32e2085 100644 --- a/src/Api/Services/BaseGeoService.php +++ b/src/Api/Services/BaseGeoService.php @@ -47,7 +47,6 @@ public function get(string $ip): ?ServiceResponse $res = $this->client->get($this->buildUrl($ip, $apiKey), $this->getRequestOptions($apiKey)); - $body = json_decode($res->getBody()); $body = json_decode($res->getBody()); if ($this->hasError($body)) {