Skip to content

Commit

Permalink
Convert proxy to int
Browse files Browse the repository at this point in the history
  • Loading branch information
miguilimzero committed Jun 2, 2022
1 parent bb2361b commit f04251f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IpAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
];
}
Expand Down

0 comments on commit f04251f

Please sign in to comment.