Skip to content

Commit e63a642

Browse files
committed
remove unused constant
1 parent cb63e98 commit e63a642

File tree

1 file changed

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

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -596,8 +596,6 @@ export async function POST(req: NextRequest, { params }: { params: Promise<{ id:
596596
}
597597
}
598598

599-
const shouldCleanupBase64 = true
600-
601599
try {
602600
const startTime = new Date()
603601

@@ -901,7 +899,7 @@ export async function POST(req: NextRequest, { params }: { params: Promise<{ id:
901899
})
902900
} finally {
903901
timeoutController.cleanup()
904-
if (executionId && shouldCleanupBase64) {
902+
if (executionId) {
905903
await cleanupExecutionBase64Cache(executionId)
906904
}
907905
if (!isStreamClosed) {

0 commit comments

Comments
 (0)