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 7f55471 commit 9f568c3Copy full SHA for 9f568c3
packages/server/src/services/documentstore/index.ts
@@ -843,7 +843,7 @@ const _saveChunksToStorage = async (
843
filesWithMetadata.push(fileMetadata)
844
}
845
846
- data.loaderConfig[keys[i]] = 'FILE-STORAGE::' + JSON.stringify(fileNames)
+ if (fileNames.length) data.loaderConfig[keys[i]] = 'FILE-STORAGE::' + JSON.stringify(fileNames)
847
} else if (re.test(input)) {
848
const fileNames: string[] = []
849
const fileMetadata = await _saveFileToStorage(input, entity)
0 commit comments