This commit is contained in:
Aevann1 2022-02-16 02:23:46 +02:00
parent 817d63b033
commit 6721538b81
7 changed files with 29 additions and 16 deletions

View file

@ -397,8 +397,7 @@ def get_css(username):
return resp
@app.get("/@<username>/profilecss")
@auth_required
def get_profilecss(v, username):
def get_profilecss(username):
user = get_user(username)
if user.profilecss: profilecss = user.profilecss
else: profilecss = ""