testing on devrama

remotes/1693045480750635534/spooky-22
Aevann1 2022-09-20 00:59:38 +02:00
parent 5e6fe2e27d
commit 3e8c618804
1 changed files with 0 additions and 2 deletions

View File

@ -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]