Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
bd45b7a0
"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "cb2cd06855dabee6b9b9ef9de9f37fb7d6a16f5a"
Commit
bd45b7a0
authored
Jul 01, 2024
by
Timothy J. Baek
Browse files
fix
parent
9c012971
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
backend/apps/webui/models/functions.py
backend/apps/webui/models/functions.py
+1
-2
No files found.
backend/apps/webui/models/functions.py
View file @
bd45b7a0
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment