Skip to content

Commit 3271b01

Browse files
committed
refac
1 parent 638c7ab commit 3271b01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/open_webui/socket/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ async def debounced_save():
764764
async def yjs_document_leave(sid, data):
765765
"""Handle user leaving a document"""
766766
try:
767-
document_id = data['document_id']
767+
document_id = normalize_document_id(data['document_id'])
768768
user_id = data.get('user_id', sid)
769769

770770
log.info(f'User {user_id} leaving document {document_id}')

0 commit comments

Comments
 (0)