mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 11:00:55 +03:00
@@ -86,7 +86,8 @@ const executeCustomFunction = async (req: Request, res: Response, next: NextFunc
|
||||
)
|
||||
}
|
||||
const orgId = req.user?.activeOrganizationId
|
||||
const apiResponse = await nodesService.executeCustomFunction(req.body, orgId)
|
||||
const workspaceId = req.user?.activeWorkspaceId
|
||||
const apiResponse = await nodesService.executeCustomFunction(req.body, workspaceId, orgId)
|
||||
return res.json(apiResponse)
|
||||
} catch (error) {
|
||||
next(error)
|
||||
|
||||
Reference in New Issue
Block a user