mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Pipedrive Node): Fix limit issue with Lead -> GetAll (#3436)
This commit is contained in:
@@ -4813,6 +4813,11 @@ export class Pipedrive implements INodeType {
|
|||||||
|
|
||||||
// https://developers.pipedrive.com/docs/api/v1/Leads#getLeads
|
// https://developers.pipedrive.com/docs/api/v1/Leads#getLeads
|
||||||
|
|
||||||
|
returnAll = this.getNodeParameter('returnAll', i) as boolean;
|
||||||
|
if (returnAll === false) {
|
||||||
|
qs.limit = this.getNodeParameter('limit', i) as number;
|
||||||
|
}
|
||||||
|
|
||||||
const filters = this.getNodeParameter('filters', i) as IDataObject;
|
const filters = this.getNodeParameter('filters', i) as IDataObject;
|
||||||
|
|
||||||
if (Object.keys(filters).length) {
|
if (Object.keys(filters).length) {
|
||||||
|
|||||||
Reference in New Issue
Block a user