Skip to content

Commit c865641

Browse files
committed
revert
1 parent 8b2cfa8 commit c865641

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/models-library/src/models_library/projects_nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def _convert_from_enum(cls, v):
359359
if isinstance(v, str):
360360
# the old version of state was a enum of RunningState
361361
running_state_value = _convert_old_enum_name(v)
362-
return NodeState(current_status=running_state_value, lock_state=None)
362+
return NodeState(current_status=running_state_value)
363363
return v
364364

365365
@staticmethod

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
@@ -1165,7 +1165,7 @@ async def update_project_node_state(
11651165
project_id=project_id,
11661166
node_id=node_id,
11671167
partial_node=PartialNode.model_construct(
1168-
state=NodeState(current_status=RunningState(new_state), lock_state=None)
1168+
state=NodeState(current_status=RunningState(new_state))
11691169
),
11701170
)
11711171
return await get_project_for_user(

0 commit comments

Comments
 (0)