mirror of
https://github.com/cp6/my-idlers.git
synced 2025-06-05 00:28:09 +00:00
Removed logging
This commit is contained in:
parent
97585e0f5b
commit
6f59fb628c
1 changed files with 0 additions and 4 deletions
|
@ -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'],
|
||||
|
|
Loading…
Add table
Reference in a new issue