Skip to content

Commit 56c00eb

Browse files
authored
fix/unable-to-upload-documents (#3606)
fix: unable to upload documents
1 parent 3478b39 commit 56c00eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/server/src/utils/createAttachment.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ export const createFileAttachment = async (req: Request) => {
6969
const nodeData = {
7070
inputs: {
7171
[fileInputField]: storagePath
72-
}
72+
},
73+
outputs: { output: 'document' }
7374
}
7475

7576
let content = ''

0 commit comments

Comments
 (0)