diff --git a/packages/backend/src/queue/processors/ended-poll-notification.ts b/packages/backend/src/queue/processors/ended-poll-notification.ts index 3bf010a1b..c652d6216 100644 --- a/packages/backend/src/queue/processors/ended-poll-notification.ts +++ b/packages/backend/src/queue/processors/ended-poll-notification.ts @@ -28,6 +28,7 @@ export async function endedPollNotification( for (const userId of userIds) { createNotification(userId, "pollEnded", { + note: note, noteId: note.id, }); }