Update API to keep backwards compatibility for geoip lookup
This commit is contained in:
@@ -5736,7 +5736,7 @@ class WebInterface(object):
|
||||
|
||||
Returns:
|
||||
json:
|
||||
{"continent": "North America",
|
||||
{"code": 'US",
|
||||
"country": "United States",
|
||||
"region": "California",
|
||||
"city": "Mountain View",
|
||||
@@ -5746,9 +5746,6 @@ class WebInterface(object):
|
||||
"longitude": -122.0838,
|
||||
"accuracy": 1000
|
||||
}
|
||||
json:
|
||||
{"error": "The address 127.0.0.1 is not in the database."
|
||||
}
|
||||
```
|
||||
"""
|
||||
message = ''
|
||||
|
Reference in New Issue
Block a user