diff --git a/src/IpAddress.php b/src/IpAddress.php index 00c609b..a124573 100644 --- a/src/IpAddress.php +++ b/src/IpAddress.php @@ -159,7 +159,7 @@ protected static function proxyCheckRequest(string $ip, array $config) 'latitude' => $response['latitude'], 'longitude' => $response['longitude'], 'risk' => $response['risk'], - 'proxy' => $response['proxy'], + 'proxy' => ($response['proxy'] === 'yes') ? 1 : 0, 'driver' => 'proxycheck', ]; }