Skip to content

Commit 2ae141c

Browse files
committed
Lint
1 parent f99961e commit 2ae141c

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ export const POST = withRouteHandler(async (request: NextRequest) => {
5454

5555
const file = await getWorkspaceFile(workspaceId, fileId)
5656
if (!file) {
57-
return NextResponse.json({ success: false, error: `File not found: "${fileId}"` }, { status: 404 })
57+
return NextResponse.json(
58+
{ success: false, error: `File not found: "${fileId}"` },
59+
{ status: 404 }
60+
)
5861
}
5962

6063
return NextResponse.json({

apps/sim/blocks/blocks/file.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,10 @@ export const FileV3Block: BlockConfig<FileParserV3Output> = {
470470
},
471471
},
472472
inputs: {
473-
operation: { type: 'string', description: 'Operation to perform (read, get, write, or append)' },
473+
operation: {
474+
type: 'string',
475+
description: 'Operation to perform (read, get, write, or append)',
476+
},
474477
fileInput: { type: 'json', description: 'File input for read' },
475478
fileType: { type: 'string', description: 'File type for read' },
476479
getFileInput: { type: 'json', description: 'Selected file or workspace file ID for get' },

0 commit comments

Comments
 (0)