Update API to keep backwards compatibility for geoip lookup

This commit is contained in:
JonnyWong16
2020-04-27 17:29:48 -07:00
parent 82ab732144
commit 1ab407eb38
3 changed files with 8 additions and 8 deletions

5
API.md
View File

@@ -683,7 +683,7 @@ Optional parameters:
Returns:
json:
{"continent": "North America",
{"code": 'US",
"country": "United States",
"region": "California",
"city": "Mountain View",
@@ -693,9 +693,6 @@ Returns:
"longitude": -122.0838,
"accuracy": 1000
}
json:
{"error": "The address 127.0.0.1 is not in the database."
}
```