refac
This commit is contained in:
1 parent
9e2536aa57
commit
588f129695
17 files changed
+54
-33
No files matched your search
@@ -75,7 +75,7 @@ async def _has_write_access_to_note(note, user_id: str) -> bool:
|
||||
|
||||
|
||||
async def _emit_note_updated(request: Request, user: dict, note) -> None:
|
||||
await sio.emit('note-events', note.model_dump(), to=f'note:{note.id}')
|
||||
await sio.emit('events:note', note.model_dump(), to=f'note:{note.id}')
|
||||
await publish_event(
|
||||
request,
|
||||
EVENTS.NOTE_UPDATED,
|
||||
|
||||
Reference in new issue
Block a user