hfghf
This commit is contained in:
parent
b998be923d
commit
d3f080a2a8
15 changed files with 50 additions and 54 deletions
|
@ -106,7 +106,7 @@ def suicide(v, username):
|
|||
@auth_required
|
||||
def get_coins(v, username):
|
||||
user = get_user(username)
|
||||
if user is not None: return {"coins": user.coins}, 200
|
||||
if user != None: return {"coins": user.coins}, 200
|
||||
else: return {"error": "invalid_user"}, 404
|
||||
|
||||
@app.post("/@<username>/transfer_coins")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue