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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ export const createFileAttachment = async (req: Request) => {
const nodeData = {
inputs: {
[fileInputField]: storagePath
}
},
outputs: { output: 'document' }
}
let content = ''