fds
This commit is contained in:
parent
69152e63a2
commit
f6495499d3
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue