mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac
This commit is contained in:
parent
48d233abc6
commit
0c5fbdedd8
1 changed files with 1 additions and 1 deletions
|
|
@ -1648,7 +1648,7 @@ async def get_app_config(request: Request):
|
|||
else {}
|
||||
),
|
||||
}
|
||||
if user is not None
|
||||
if user is not None and (user.role in ["admin", "user"])
|
||||
else {
|
||||
**(
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue