mirror of
https://github.com/cp6/my-idlers.git
synced 2025-06-06 09:08:10 +00:00
Fixed error in call when fetching IP who is data
This commit is contained in:
parent
00701650e6
commit
a91047dacf
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class IPs extends Model
|
||||||
|
|
||||||
public static function getUpdateIpInfo(IPs $IP): bool
|
public static function getUpdateIpInfo(IPs $IP): bool
|
||||||
{
|
{
|
||||||
$response = Http::get("https://ipwhois.app/json/{{$IP->address}}");
|
$response = Http::get("https://ipwhois.app/json/{$IP->address}");
|
||||||
|
|
||||||
if ($response->ok()) {
|
if ($response->ok()) {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue