remotes/1693045480750635534/spooky-22
Aevann1 2022-01-18 15:46:11 +02:00
parent c139684ad3
commit 209fc1e6ef
1 changed files with 1 additions and 2 deletions

View File

@ -380,8 +380,7 @@ def get_profilecss(v, username):
return resp
@app.get("/songs/<id>")
@auth_required
def songs(v, id):
def songs(id):
try: id = int(id)
except: return "", 400
user = g.db.query(User).filter_by(id=id).one_or_none()