diff --git a/apps/sim/app/api/workflows/[id]/execute/route.ts b/apps/sim/app/api/workflows/[id]/execute/route.ts index e9fc6d073..dd2273190 100644 --- a/apps/sim/app/api/workflows/[id]/execute/route.ts +++ b/apps/sim/app/api/workflows/[id]/execute/route.ts @@ -596,8 +596,6 @@ export async function POST(req: NextRequest, { params }: { params: Promise<{ id: } } - const shouldCleanupBase64 = true - try { const startTime = new Date() @@ -901,7 +899,7 @@ export async function POST(req: NextRequest, { params }: { params: Promise<{ id: }) } finally { timeoutController.cleanup() - if (executionId && shouldCleanupBase64) { + if (executionId) { await cleanupExecutionBase64Cache(executionId) } if (!isStreamClosed) {