Skip to content

Commit e8fd370

Browse files
committed
refactor
1 parent e9106bf commit e8fd370

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/web/server/src/simcore_service_webserver/projects/_controller/projects_states_rest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ async def open_project(request: web.Request) -> web.Response:
119119
# Connect the socket_id to a project room
120120
with managed_resource(
121121
req_ctx.user_id, client_session_id, request.app
122-
) as resource_registry:
123-
_socket_id = await resource_registry.get_socket_id()
122+
) as user_session:
123+
_socket_id = await user_session.get_socket_id()
124124
if _socket_id is None:
125125
raise web.HTTPUnprocessableEntity(
126126
text=user_message(

0 commit comments

Comments
 (0)