Skip to content

Commit 9f568c3

Browse files
sunnymodi21HenryHengZJ
authored andcommitted
Fix: ignore skipInferTableTypes on document storage process (FlowiseAI#4068)
* Fix: ignore skipInferTableTypes on document storage process * Update index.ts --------- Co-authored-by: Henry Heng <[email protected]>
1 parent 7f55471 commit 9f568c3

File tree

1 file changed

+1
-1
lines changed
  • packages/server/src/services/documentstore

1 file changed

+1
-1
lines changed

packages/server/src/services/documentstore/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ const _saveChunksToStorage = async (
843843
filesWithMetadata.push(fileMetadata)
844844
}
845845
}
846-
data.loaderConfig[keys[i]] = 'FILE-STORAGE::' + JSON.stringify(fileNames)
846+
if (fileNames.length) data.loaderConfig[keys[i]] = 'FILE-STORAGE::' + JSON.stringify(fileNames)
847847
} else if (re.test(input)) {
848848
const fileNames: string[] = []
849849
const fileMetadata = await _saveFileToStorage(input, entity)

0 commit comments

Comments
 (0)