forked from MarseyWorld/MarseyWorld
master
parent
c5600f8d21
commit
2992c5f742
|
@ -24,17 +24,6 @@ from files.helpers.discord import add_role
|
|||
IMGUR_KEY = environ.get("IMGUR_KEY", "").strip()
|
||||
SITE_NAME = environ.get("SITE_NAME", "").strip()
|
||||
|
||||
@app.get("/sexing")
|
||||
def nig():
|
||||
first = time.time()
|
||||
sex = [c for c in g.db.query(User).all() if c.id == 1]
|
||||
print(time.time() - first)
|
||||
first2 = time.time()
|
||||
sex2 = g.db.query(User).all()
|
||||
sex2 = [c for c in sex2 if c.id == 1]
|
||||
print(time.time() - first2)
|
||||
return "fug"
|
||||
|
||||
@app.post("/@<username>/revert_actions")
|
||||
@admin_level_required(6)
|
||||
def revert_actions(v, username):
|
||||
|
|
Loading…
Reference in New Issue