Skip to content

Commit 7670cdf

Browse files
committed
Fix run block
1 parent 7153141 commit 7670cdf

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/api/workflows/[id]/execute

1 file changed

+1
-1
lines changed

apps/sim/app/api/workflows/[id]/execute/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ export async function POST(req: NextRequest, { params }: { params: Promise<{ id:
283283
getLatestExecutionState,
284284
} = await import('@/lib/workflows/executor/execution-state')
285285
const snapshot = runFromBlock.executionId === 'latest'
286-
? await getLatestExecutionState(id)
286+
? await getLatestExecutionState(workflowId)
287287
: await getExecutionState(runFromBlock.executionId)
288288
if (!snapshot) {
289289
return NextResponse.json(

0 commit comments

Comments
 (0)