Optimized connection to db

This commit is contained in:
2023-06-18 19:20:06 -04:00
parent 781858a905
commit 8d8eb84e20
13 changed files with 128 additions and 39 deletions

View File

@ -22,6 +22,7 @@ class Ipify
if (!isset($json->ip)) {
throw new Exception('Missing `ip` in JSON response');
}
$this->logger->debug("Current IP: {$json->ip}");
return $json->ip;
}
}