mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-04 11:45:07 -05:00
remove unused constant
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user