forked from rDrama/rDrama
fds
parent
c139684ad3
commit
209fc1e6ef
|
@ -380,8 +380,7 @@ def get_profilecss(v, username):
|
||||||
return resp
|
return resp
|
||||||
|
|
||||||
@app.get("/songs/<id>")
|
@app.get("/songs/<id>")
|
||||||
@auth_required
|
def songs(id):
|
||||||
def songs(v, id):
|
|
||||||
try: id = int(id)
|
try: id = int(id)
|
||||||
except: return "", 400
|
except: return "", 400
|
||||||
user = g.db.query(User).filter_by(id=id).one_or_none()
|
user = g.db.query(User).filter_by(id=id).one_or_none()
|
||||||
|
|
Loading…
Reference in New Issue