mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
@ -63,9 +63,7 @@ class WorkflowCollaborationService:
|
||||
self.handle_leader_disconnect(workflow_id, sid)
|
||||
self.broadcast_online_users(workflow_id)
|
||||
|
||||
def relay_collaboration_event(
|
||||
self, sid: str, data: Mapping[str, object]
|
||||
) -> tuple[dict[str, str], int]:
|
||||
def relay_collaboration_event(self, sid: str, data: Mapping[str, object]) -> tuple[dict[str, str], int]:
|
||||
mapping = self._repository.get_sid_mapping(sid)
|
||||
if not mapping:
|
||||
return {"msg": "unauthorized"}, 401
|
||||
|
||||
Reference in New Issue
Block a user