This commit is contained in:
Timothy J. Baek 2024-07-01 16:11:44 -07:00
parent 9c01297191
commit bd45b7a04b

View File

@ -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: