fix: invalid return type
This commit is contained in:
+1
-1
@@ -163,4 +163,4 @@ async def get_ip(request: Request):
|
|||||||
html = response.text
|
html = response.text
|
||||||
ipinfo = IPInfo(html)
|
ipinfo = IPInfo(html)
|
||||||
|
|
||||||
return ipinfo._data
|
return ipinfo.dict()
|
||||||
Reference in New Issue
Block a user