Commit 125b244f authored by Steven Guikal's avatar Steven Guikal
Browse files

fix(FastAPI): use account type vars instead of strings



Signed-off-by: Steven Guikal's avatarSteven Guikal <void@fluix.one>
parent ecbab854
......@@ -228,7 +228,7 @@ async def trusted_user_proposal_post(request: Request,
@router.get("/addvote")
@auth_required(True, redirect="/addvote")
@account_type_required({"Trusted User", "Trusted User & Developer"})
@account_type_required({TRUSTED_USER, TRUSTED_USER_AND_DEV})
async def trusted_user_addvote(request: Request,
user: str = str(),
type: str = "add_tu",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment