forked from rDrama/rDrama
dfg
parent
9bcf806e6b
commit
ca84ec4f34
|
@ -30,7 +30,7 @@ def join_discord(v):
|
||||||
@app.get("/sex")
|
@app.get("/sex")
|
||||||
@admin_level_required(6)
|
@admin_level_required(6)
|
||||||
def sex(v):
|
def sex(v):
|
||||||
users = g.db.query(User).options(lazyload('*')).filter(User.discord_id is not None).all()
|
users = g.db.query(User).options(lazyload('*')).filter(User.discord_id != None).all()
|
||||||
headers={
|
headers={
|
||||||
'Authorization': f"Bot {BOT_TOKEN}",
|
'Authorization': f"Bot {BOT_TOKEN}",
|
||||||
'Content-Type': "application/json"
|
'Content-Type': "application/json"
|
||||||
|
|
Loading…
Reference in New Issue