mirror of
https://github.com/fishyboteso/fishyboteso.git
synced 2024-08-30 18:32:13 +00:00
#167 hotfix forgot to add timeout to register too, as its one of the first web calls too
This commit is contained in:
parent
cbb37e8f0b
commit
8b21b722f2
@ -1 +1 @@
|
||||
0.5.19
|
||||
0.5.20
|
@ -52,7 +52,7 @@ def logout():
|
||||
def _register_user():
|
||||
ip = get_ip(GoogleDnsProvider)
|
||||
body = {"ip": ip, "apiversion": apiversion}
|
||||
response = requests.post(urls.user, json=body)
|
||||
response = requests.post(urls.user, json=body, timeout=10)
|
||||
result = response.json()
|
||||
return result["uid"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user