From e63a642f1171246e5dd0031afa4bb9c3e2041dcc Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Wed, 4 Feb 2026 01:48:42 -0800 Subject: [PATCH] remove unused constant --- apps/sim/app/api/workflows/[id]/execute/route.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) {