File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/web/server/src/simcore_service_webserver/projects Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 188188
189189
190190async def conditionally_unsubscribe_from_project_logs (
191- app : web .Application , project_id : ProjectID , user_id : UserID | None = None
191+ app : web .Application , project_id : ProjectID , user_id : UserID
192192) -> None :
193193 """
194194 Unsubscribes from project logs only if no active socket connections remain for the project.
@@ -202,7 +202,7 @@ async def conditionally_unsubscribe_from_project_logs(
202202 user_id: Optional user ID to use for the resource session (defaults to 0 if None)
203203 """
204204 redis_resource_registry = get_registry (app )
205- with managed_resource (user_id or 0 , None , app ) as user_session :
205+ with managed_resource (user_id , None , app ) as user_session :
206206 all_user_sessions_with_project = await user_session .find_users_of_resource (
207207 app , key = PROJECT_ID_KEY , value = f"{ project_id } "
208208 )
You can’t perform that action at this time.
0 commit comments