fix/unable-to-upload-documents (#3606)

fix: unable to upload documents
This commit is contained in:
Ong Chung Yau
2024-11-29 05:07:22 -08:00
committed by GitHub
parent 3478b39a40
commit 56c00ebf38
@@ -69,7 +69,8 @@ export const createFileAttachment = async (req: Request) => {
const nodeData = { const nodeData = {
inputs: { inputs: {
[fileInputField]: storagePath [fileInputField]: storagePath
} },
outputs: { output: 'document' }
} }
let content = '' let content = ''