testing on devrama
parent
5e6fe2e27d
commit
3e8c618804
|
@ -197,8 +197,6 @@ def random_post(v):
|
|||
@app.get("/random_user")
|
||||
@auth_required
|
||||
def random_user(v):
|
||||
abort(500)
|
||||
|
||||
u = g.db.query(User.username).filter(User.song != None).order_by(func.random()).first()
|
||||
|
||||
if u: u = u[0]
|
||||
|
|
Loading…
Reference in New Issue