This commit is contained in:
Timothy Jaeryang Baek committed 2025-11-21 01:48:06 -05:00
1 parent 41701697ec
commit 27b8775032
2 files changed
+4 -6

No files matched your search

+1 -1
View File
@@ -321,7 +321,7 @@ async def update_model_by_id(
detail=ERROR_MESSAGES.ACCESS_PROHIBITED,
)
model = Models.update_model_by_id(id, form_data)
model = Models.update_model_by_id(form_data.id, ModelForm(**form_data.model_dump()))
return model