From bada252c22006daebaf61fbd52f3900e5bbe3f9c Mon Sep 17 00:00:00 2001 From: Jon Date: Fri, 22 Sep 2023 07:27:00 +0100 Subject: [PATCH] fix(APITemplate.io Node): Fix action description for create pdf (no-changelog) (#7226) Github issue / Community forum post (link here to close automatically): https://github.com/n8n-io/n8n/issues/7224 --- .../nodes/ApiTemplateIo/ApiTemplateIo.node.ts | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/ApiTemplateIo/ApiTemplateIo.node.ts b/packages/nodes-base/nodes/ApiTemplateIo/ApiTemplateIo.node.ts index 9fddea8c0b392..0d3560fe1d175 100644 --- a/packages/nodes-base/nodes/ApiTemplateIo/ApiTemplateIo.node.ts +++ b/packages/nodes-base/nodes/ApiTemplateIo/ApiTemplateIo.node.ts @@ -74,7 +74,27 @@ export class ApiTemplateIo implements INodeType { ], displayOptions: { show: { - resource: ['image', 'pdf'], + resource: ['image'], + }, + }, + }, + { + displayName: 'Operation', + name: 'operation', + type: 'options', + noDataExpression: true, + default: 'create', + required: true, + options: [ + { + name: 'Create', + value: 'create', + action: 'Create a pdf', + }, + ], + displayOptions: { + show: { + resource: ['pdf'], }, }, },