Skip to content

Commit 5effc1f

Browse files
committed
chore: remove extraneous inline comments
1 parent cc09c93 commit 5effc1f

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

apps/sim/app/api/files/multipart/route.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ export const POST = withRouteHandler(async (request: NextRequest) => {
135135

136136
const config = getStorageConfig(storageContext)
137137

138-
// Apply storage quota to all user-driven upload contexts (not system/metadata contexts)
139138
if (
140139
!QUOTA_EXEMPT_STORAGE_CONTEXTS.has(context as StorageContext) &&
141140
typeof fileSize === 'number'

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ export const POST = withRouteHandler(
4343
return createErrorResponse('executionId is required when logging results', 400)
4444
}
4545

46-
// Verify that if executionId already exists in the DB it belongs to this workflow,
47-
// preventing a cross-tenant log write by a caller who owns a different workflow.
4846
const [existingLog] = await db
4947
.select({ workflowId: workflowExecutionLogs.workflowId })
5048
.from(workflowExecutionLogs)

0 commit comments

Comments
 (0)