This commit is contained in:
Jan Oberhauser 2020-10-13 23:02:39 +02:00
commit e19c83eca9

View file

@ -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') {
// ----------------------------------