mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(events): emit bulk download events in correct room
This commit is contained in:
parent
3abc182b44
commit
1b9bbaa5a4
@ -116,4 +116,4 @@ class SocketIO:
|
||||
|
||||
async def _handle_bulk_image_download_event(self, event: FastAPIEvent[BulkDownloadEvent]) -> None:
|
||||
event_name, payload = event
|
||||
await self._sio.emit(event=event_name, data=payload.model_dump())
|
||||
await self._sio.emit(event=event_name, data=payload.model_dump(), room=payload.bulk_download_id)
|
||||
|
Loading…
Reference in New Issue
Block a user