From a9a03272046b4e106fa020be47f98cf44c645863 Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Fri, 14 Nov 2025 19:10:06 -0500 Subject: [PATCH] rename packedNote to minimizedNote to avoid confusion --- packages/backend/src/core/QueueService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/core/QueueService.ts b/packages/backend/src/core/QueueService.ts index 3d1ffcceba..15260fe272 100644 --- a/packages/backend/src/core/QueueService.ts +++ b/packages/backend/src/core/QueueService.ts @@ -895,7 +895,7 @@ export class QueueService implements OnModuleInit { @bindThis public async createUpdateLatestNoteJob(note: MinimalNote) { // Compact the note to avoid storing the entire thing in Redis, when all we need is minimal data for categorization - const packedNote: MinimalNote = { + const minimizedNote: MinimalNote = { id: note.id, visibility: note.visibility, userId: note.userId, @@ -907,7 +907,7 @@ export class QueueService implements OnModuleInit { fileIds: note.fileIds.length > 0 ? ['1'] : [], }; - return await this.createBackgroundTask({ type: 'update-latest-note', note: packedNote }, note.id); + return await this.createBackgroundTask({ type: 'update-latest-note', note: minimizedNote }, note.id); } @bindThis