We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 174e4dc commit 8ae5f88Copy full SHA for 8ae5f88
apps/sim/app/api/schedules/execute/route.ts
@@ -8,6 +8,7 @@ import { createBullMQJobData, isBullMQEnabled } from '@/lib/core/bullmq'
8
import { generateRequestId } from '@/lib/core/utils/request'
9
import { generateId } from '@/lib/core/utils/uuid'
10
import { enqueueWorkspaceDispatch } from '@/lib/core/workspace-dispatch'
11
+import { getWorkflowById } from '@/lib/workflows/utils'
12
import {
13
executeJobInline,
14
executeScheduleJob,
@@ -115,7 +116,6 @@ export async function GET(request: NextRequest) {
115
116
}
117
118
try {
- const { getWorkflowById } = await import('@/lib/workflows/utils')
119
const resolvedWorkflow = schedule.workflowId
120
? await getWorkflowById(schedule.workflowId)
121
: null
0 commit comments