sneed
This commit is contained in:
parent
dd232eb9d2
commit
95c8562ae8
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ from ruqqus.__main__ import app, cache
|
|||
|
||||
@app.route("/admin/resize", methods=["GET"])
|
||||
@auth_required
|
||||
def shadowbanned(v):
|
||||
def resize(v):
|
||||
if not (v and v.admin_level == 6): abort(404)
|
||||
for u in g.db.query(User).filter(User.profileurl != None).all():
|
||||
u.profileurl = upload_from_url(u.username, u.profileurl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue