From 2e1bb6091794e3002b2c69c0468840f1d55d5381 Mon Sep 17 00:00:00 2001 From: alma Date: Tue, 6 Jan 2026 20:04:19 +0100 Subject: [PATCH] Refactor Notification BIG --- lib/services/notifications/leantime-adapter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/notifications/leantime-adapter.ts b/lib/services/notifications/leantime-adapter.ts index 72139e8a..e9b3fafc 100644 --- a/lib/services/notifications/leantime-adapter.ts +++ b/lib/services/notifications/leantime-adapter.ts @@ -505,7 +505,7 @@ export class LeantimeAdapter implements NotificationAdapter { // Process notifications in batches const notificationIds = unreadNotifications - .map(n => { + .map((n: { id: number | string; sourceId: string }) => { const id = typeof n.id === 'number' ? n.id : parseInt(String(n.id || n.sourceId)); return isNaN(id) ? null : id; })