mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 13:07:25 +00:00
fix
This commit is contained in:
parent
9c01297191
commit
bd45b7a04b
@ -214,8 +214,7 @@ class FunctionsTable:
|
||||
user_settings["functions"]["valves"][id] = valves
|
||||
|
||||
# Update the user settings in the database
|
||||
query = Users.update_user_by_id(user_id, {"settings": user_settings})
|
||||
query.execute()
|
||||
Users.update_user_by_id(user_id, {"settings": user_settings})
|
||||
|
||||
return user_settings["functions"]["valves"][id]
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user