Skip to content

Commit cdddec3

Browse files
chore(file): drop verbose comment in read share enrichment
1 parent 0bd2626 commit cdddec3

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • apps/sim/app/api/tools/file/manage

apps/sim/app/api/tools/file/manage/route.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -418,10 +418,6 @@ export const POST = withRouteHandler(async (request: NextRequest) => {
418418
)
419419
}
420420

421-
// Attach each workspace file's share status (batched to avoid N+1), using
422-
// the same visibility vocabulary as the Manage Sharing operation. A file
423-
// with no active public link reads as 'private' and exposes no link/config.
424-
// Picker/upload input files have no canonical id, so they read as private.
425421
const shares = await getSharesForResources('file', selectedFileIds)
426422
const privateReadShare = () => ({
427423
visibility: 'private' as const,

0 commit comments

Comments
 (0)