Skip to content

Commit 088192c

Browse files
🐛 Update state when patching node (#6970)
1 parent 848339f commit 088192c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

+7-1
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,13 @@ async def patch_project_node(
10491049
app, project_id
10501050
)
10511051

1052-
# 5. Notify project node update
1052+
# 5. Updates project states for user, if inputs have been changed
1053+
if "inputs" in _node_patch_exclude_unset:
1054+
updated_project = await add_project_states_for_user(
1055+
user_id=user_id, project=updated_project, is_template=False, app=app
1056+
)
1057+
1058+
# 6. Notify project node update
10531059
await notify_project_node_update(app, updated_project, node_id, errors=None)
10541060

10551061

0 commit comments

Comments
 (0)