Skip to content

Commit

Permalink
fix/unable-to-upload-documents (#3606)
Browse files Browse the repository at this point in the history
fix: unable to upload documents
  • Loading branch information
chungyau97 authored Nov 29, 2024
1 parent 3478b39 commit 56c00eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/server/src/utils/createAttachment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ export const createFileAttachment = async (req: Request) => {
const nodeData = {
inputs: {
[fileInputField]: storagePath
}
},
outputs: { output: 'document' }
}

let content = ''
Expand Down

0 comments on commit 56c00eb

Please sign in to comment.