We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bd2626 commit cdddec3Copy full SHA for cdddec3
1 file changed
apps/sim/app/api/tools/file/manage/route.ts
@@ -418,10 +418,6 @@ export const POST = withRouteHandler(async (request: NextRequest) => {
418
)
419
}
420
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.
425
const shares = await getSharesForResources('file', selectedFileIds)
426
const privateReadShare = () => ({
427
visibility: 'private' as const,
0 commit comments