diff --git a/packages/nodes-base/nodes/Pipedrive/Pipedrive.node.ts b/packages/nodes-base/nodes/Pipedrive/Pipedrive.node.ts index dba5142e4f..c1236c46a7 100644 --- a/packages/nodes-base/nodes/Pipedrive/Pipedrive.node.ts +++ b/packages/nodes-base/nodes/Pipedrive/Pipedrive.node.ts @@ -1420,6 +1420,7 @@ export class Pipedrive implements INodeType { show: { operation: [ 'create', + 'getAll' ], resource: [ 'note', @@ -2516,13 +2517,14 @@ export class Pipedrive implements INodeType { // ---------------------------------- requestMethod = 'GET'; + endpoint = `/notes`; returnAll = this.getNodeParameter('returnAll', i) as boolean; if (returnAll === false) { qs.limit = this.getNodeParameter('limit', i) as number; } - - endpoint = `/notes`; + const additionalFields = this.getNodeParameter('additionalFields', i) as IDataObject; + addAdditionalFields(qs, additionalFields); } else if (operation === 'update') { // ----------------------------------