Refactor Notification BIG
This commit is contained in:
parent
2e1bb60917
commit
015bb3b3eb
@ -509,7 +509,7 @@ export class LeantimeAdapter implements NotificationAdapter {
|
||||
const id = typeof n.id === 'number' ? n.id : parseInt(String(n.id || n.sourceId));
|
||||
return isNaN(id) ? null : id;
|
||||
})
|
||||
.filter((id): id is number => id !== null);
|
||||
.filter((id: number | null): id is number => id !== null);
|
||||
|
||||
console.log(`[LEANTIME_ADAPTER] markAllAsRead - Processing ${notificationIds.length} notifications in batches of ${BATCH_SIZE}`);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user