fix: valves

This commit is contained in:
Timothy J. Baek
2024-05-28 13:05:50 -07:00
parent 3395bbcc95
commit e25670e6ec
2 changed files with 2 additions and 2 deletions

View File

@@ -227,7 +227,7 @@ async def update_valves(pipeline_id: str, form_data: dict):
try:
ValvesModel = pipeline.valves.__class__
valves = ValvesModel(**form_data.valves)
valves = ValvesModel(**form_data)
pipeline.valves = valves
except Exception as e:
print(e)