mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 09:00:52 +03:00
Feature/Full File Uploads & Message Delete API (#3314)
* add functionality for full file uploads, add remove messages from view dialog and API * add attachments swagger * update question to include uploadedFilesContent * make config dialog modal lg size
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import client from './client'
|
||||
|
||||
const createAttachment = (chatflowid, chatid, formData) =>
|
||||
client.post(`/attachments/${chatflowid}/${chatid}`, formData, {
|
||||
headers: { 'Content-Type': 'multipart/form-data' }
|
||||
})
|
||||
|
||||
export default {
|
||||
createAttachment
|
||||
}
|
||||
Reference in New Issue
Block a user