mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-27 13:00:35 +03:00
Bugfix/execute custom function to worker (#4440)
* pass execute custom function to worker * update execute function
This commit is contained in:
@@ -77,11 +77,12 @@ export class PredictionQueue extends BaseQueue {
|
||||
}
|
||||
|
||||
if (Object.prototype.hasOwnProperty.call(data, 'isExecuteCustomFunction')) {
|
||||
const executeCustomFunctionData = data as any
|
||||
logger.info(`Executing Custom Function...`)
|
||||
return await executeCustomNodeFunction({
|
||||
appDataSource: this.appDataSource,
|
||||
componentNodes: this.componentNodes,
|
||||
data
|
||||
data: executeCustomFunctionData.data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user