Fix /settings/namecolor data key to match frontend.

master
Snakes 2022-11-07 16:15:25 -05:00
parent 09d14aca47
commit 61957ba9ef
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ def set_color(v:User, attr:str, color:Optional[str]):
@limiter.limit("1/second;30/minute;200/hour;1000/day", key_func=lambda:f'{SITE}-{session.get("lo_user")}')
@auth_required
def namecolor(v):
return set_color(v, "namecolor", request.values.get("color"))
return set_color(v, "namecolor", request.values.get("namecolor"))
@app.post("/settings/themecolor")
@limiter.limit("1/second;30/minute;200/hour;1000/day")