Skip to content

Commit cbf7ed5

Browse files
waleedlatif1claude
andcommitted
fix(box): filter empty strings from tags array in update_file
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ea6570c commit cbf7ed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/tools/box/update_file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const boxUpdateFileTool: ToolConfig<BoxUpdateFileParams, BoxFileInfoRespo
6464
if (params.name) body.name = params.name
6565
if (params.description !== undefined) body.description = params.description
6666
if (params.parentFolderId) body.parent = { id: params.parentFolderId.trim() }
67-
if (params.tags) body.tags = params.tags.split(',').map((t: string) => t.trim())
67+
if (params.tags) body.tags = params.tags.split(',').map((t: string) => t.trim()).filter(Boolean)
6868
return body
6969
},
7070
},

0 commit comments

Comments
 (0)