This commit is contained in:
Timothy Jaeryang Baek 2025-07-28 11:09:48 +04:00
parent 48d233abc6
commit 0c5fbdedd8

View file

@ -1648,7 +1648,7 @@ async def get_app_config(request: Request):
else {} else {}
), ),
} }
if user is not None if user is not None and (user.role in ["admin", "user"])
else { else {
**( **(
{ {