Skip to content

Commit 73b345d

Browse files
committed
use model_dump
1 parent a0df3cc commit 73b345d

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
@@ -1857,7 +1857,7 @@ async def add_project_states_for_user(
18571857

18581858
# upgrade the project
18591859
node.setdefault("state", {}).update(
1860-
node_state.model_dump_json(by_alias=True, exclude_unset=True)
1860+
node_state.model_dump(mode="json", by_alias=True, exclude_unset=True)
18611861
)
18621862
if "progress" in node["state"] and node["state"]["progress"] is not None:
18631863
# ensure progress is a percentage

0 commit comments

Comments
 (0)