forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-01-28 05:57:20 +02:00
parent 3e07f80c71
commit 9db8b47ddb
1 changed files with 0 additions and 11 deletions

View File

@ -27,17 +27,6 @@ CF_HEADERS = {"Authorization": f"Bearer {CF_KEY}", "Content-Type": "application/
month = datetime.now().strftime('%B')
# @app.get("/dead")
# @admin_level_required(2)
# def dead(v):
# g.db.query(User)
# user = get_user(username)
# if not user: abort(404)
# user.admin_level = 2
# g.db.add(user)
# g.db.commit()
# return {"message": "User has been made admin!"}
@app.post("/@<username>/make_admin")
@limiter.limit("1/second;5/day")
@admin_level_required(3)