fd
This commit is contained in:
parent
144b73d578
commit
8f6378129a
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ IMGUR_KEY = environ.get("IMGUR_KEY", "").strip()
|
||||||
def revert_actions(v, username):
|
def revert_actions(v, username):
|
||||||
user = get_user(username)
|
user = get_user(username)
|
||||||
if not user: abort(404)
|
if not user: abort(404)
|
||||||
items = g.db.query(Submission, Comment).options(lazyload('*')).all()
|
items = g.db.query(Submission).options(lazyload('*')).all()
|
||||||
print(items)
|
print(items)
|
||||||
|
|
||||||
return {"message": "User has been made admin!"}
|
return {"message": "User has been made admin!"}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue