Task fully working except collaborative to handoff switching handling
This commit is contained in:
@@ -964,6 +964,7 @@ export const cleanupNoteAttachments = async (noteId: string) => {
|
||||
console.log(`[CLEANUP] Deleted ${filesToDelete.length} orphaned attachment(s) for note ${noteId}`);
|
||||
}
|
||||
} catch (err) {
|
||||
if ((err as any)?.status === 404) return;
|
||||
console.error("[CLEANUP] Failed to clean up orphaned note attachments:", err);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user