fix build error

This commit is contained in:
Vikhyath Mondreti
2026-04-02 18:53:40 -07:00
committed by Siddharth Ganesan
parent c21876ab40
commit 2d2448fe9a

View File

@@ -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 })