Fix Geoip controller
This commit is contained in:
@@ -9,6 +9,6 @@ class GeoIPController extends Controller
|
||||
{
|
||||
public function index(Request $request, $ip = null)
|
||||
{
|
||||
return (array)geoip($ip = null)->getLocation();
|
||||
return geoip($ip)->getLocation()->toArray();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user