mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 09:00:52 +03:00
@@ -750,6 +750,8 @@ export const executeFlow = async ({
|
||||
rawOutput: resultText,
|
||||
appDataSource,
|
||||
databaseEntities,
|
||||
workspaceId,
|
||||
orgId,
|
||||
logger
|
||||
}
|
||||
const customFuncNodeInstance = new nodeModule.nodeClass()
|
||||
|
||||
@@ -100,6 +100,7 @@ export const createFileAttachment = async (req: Request) => {
|
||||
const options = {
|
||||
retrieveAttachmentChatId: true,
|
||||
orgId,
|
||||
workspaceId,
|
||||
chatflowid,
|
||||
chatId
|
||||
}
|
||||
|
||||
@@ -9,11 +9,15 @@ import { IComponentNodes } from '../Interface'
|
||||
export const executeCustomNodeFunction = async ({
|
||||
appDataSource,
|
||||
componentNodes,
|
||||
data
|
||||
data,
|
||||
workspaceId,
|
||||
orgId
|
||||
}: {
|
||||
appDataSource: DataSource
|
||||
componentNodes: IComponentNodes
|
||||
data: any
|
||||
workspaceId?: string
|
||||
orgId?: string
|
||||
}) => {
|
||||
try {
|
||||
const body = data
|
||||
@@ -37,7 +41,9 @@ export const executeCustomNodeFunction = async ({
|
||||
|
||||
const options: ICommonObject = {
|
||||
appDataSource,
|
||||
databaseEntities
|
||||
databaseEntities,
|
||||
workspaceId,
|
||||
orgId
|
||||
}
|
||||
|
||||
const returnData = await newNodeInstance.init(nodeData, '', options)
|
||||
|
||||
Reference in New Issue
Block a user