Skip to content

Commit 685470b

Browse files
committed
use model_dump
1 parent 1ab0747 commit 685470b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/web/server/src/simcore_service_webserver/projects/_projects_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1903,7 +1903,7 @@ async def add_project_states_for_user(
19031903

19041904
# upgrade the project
19051905
node.setdefault("state", {}).update(
1906-
node_state.model_dump_json(by_alias=True, exclude_unset=True)
1906+
node_state.model_dump(mode="json", by_alias=True, exclude_unset=True)
19071907
)
19081908
if "progress" in node["state"] and node["state"]["progress"] is not None:
19091909
# ensure progress is a percentage

0 commit comments

Comments
 (0)