Removed logging

This commit is contained in:
cp6 2024-12-09 18:58:26 +11:00
parent 97585e0f5b
commit 6f59fb628c

View file

@ -55,16 +55,12 @@ class IPs extends Model
public static function getUpdateIpInfo(IPs $IP): bool
{
\Log::debug($IP->address);
$response = Http::get("https://ipwhois.app/json/{{$IP->address}}");
if ($response->ok()) {
$data = $response->json();
\Log::debug($data);
$IP->update([
'continent' => $data['continent'],
'country' => $data['country'],