"src/git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "1e6ddb2fb36ea13d214936bb7eeaffa41a7f05cb"
Commit 9c012971 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix

parent 6d350fb8
...@@ -170,8 +170,7 @@ class ToolsTable: ...@@ -170,8 +170,7 @@ class ToolsTable:
user_settings["tools"]["valves"][id] = valves user_settings["tools"]["valves"][id] = valves
# Update the user settings in the database # Update the user settings in the database
query = Users.update_user_by_id(user_id, {"settings": user_settings}) Users.update_user_by_id(user_id, {"settings": user_settings})
query.execute()
return user_settings["tools"]["valves"][id] return user_settings["tools"]["valves"][id]
except Exception as e: except Exception as e:
......
Markdown is supported
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