fix: Remove node AI Transform node (no-changelog) (#10400)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { INodePropertyOptions, NodeParameterValueType } from 'n8n-workflow';
|
||||
import type { INodePropertyOptions } from 'n8n-workflow';
|
||||
|
||||
import { Post, RestController } from '@/decorators';
|
||||
import { getBase } from '@/WorkflowExecuteAdditionalData';
|
||||
@@ -92,28 +92,4 @@ export class DynamicNodeParametersController {
|
||||
credentials,
|
||||
);
|
||||
}
|
||||
|
||||
@Post('/action-result')
|
||||
async getActionResult(
|
||||
req: DynamicNodeParametersRequest.ActionResult,
|
||||
): Promise<NodeParameterValueType> {
|
||||
const { currentNodeParameters, nodeTypeAndVersion, path, credentials, handler, payload } =
|
||||
req.body;
|
||||
|
||||
const additionalData = await getBase(req.user.id, currentNodeParameters);
|
||||
|
||||
if (handler) {
|
||||
return await this.service.getActionResult(
|
||||
handler,
|
||||
path,
|
||||
additionalData,
|
||||
nodeTypeAndVersion,
|
||||
currentNodeParameters,
|
||||
payload,
|
||||
credentials,
|
||||
);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user