From 2d2448fe9a5b6768ea22aeddc2b770182af602b8 Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Thu, 2 Apr 2026 18:53:40 -0700 Subject: [PATCH] fix build error --- apps/sim/lib/notifications/inactivity-polling.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/sim/lib/notifications/inactivity-polling.ts b/apps/sim/lib/notifications/inactivity-polling.ts index 63e0e248e0..6bcd1098de 100644 --- a/apps/sim/lib/notifications/inactivity-polling.ts +++ b/apps/sim/lib/notifications/inactivity-polling.ts @@ -12,7 +12,6 @@ import { isTriggerDevEnabled } from '@/lib/core/config/feature-flags' import { generateId } from '@/lib/core/utils/uuid' import { TRIGGER_TYPES } from '@/lib/workflows/triggers/triggers' import { - enqueueNotificationDeliveryDispatch, executeNotificationDelivery, workspaceNotificationDeliveryTask, } from '@/background/workspace-notification-delivery' @@ -196,7 +195,6 @@ async function checkWorkflowInactivity( `notificationType:${subscription.notificationType}`, ], }) - } else if (await enqueueNotificationDeliveryDispatch(payload)) { } else { void executeNotificationDelivery(payload).catch((error) => { logger.error(`Direct notification delivery failed for ${deliveryId}`, { error })