remotes/1693045480750635534/spooky-22
Aevann1 2021-07-21 17:48:17 +02:00
parent 43b5432b2d
commit fb32bdfb57
1 changed files with 1 additions and 1 deletions

View File

@ -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)