We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1301394 commit 08bdd26Copy full SHA for 08bdd26
1 file changed
apps/sim/app/workspace/[workspaceId]/knowledge/hooks/use-knowledge-upload.ts
@@ -110,7 +110,7 @@ const fetchBatchPresignedData = async (
110
const result: (PresignedUploadInfo | undefined)[] = new Array(files.length).fill(undefined)
111
const smallFileIndices: number[] = []
112
for (let i = 0; i < files.length; i++) {
113
- if (files[i].size < LARGE_FILE_THRESHOLD) smallFileIndices.push(i)
+ if (files[i].size <= LARGE_FILE_THRESHOLD) smallFileIndices.push(i)
114
}
115
if (smallFileIndices.length === 0) return result
116
0 commit comments