mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
fix(Pipedrive Node): Fix limit issue with Lead -> GetAll (#3436)
This commit is contained in:
parent
c121952324
commit
34e891c0f8
|
@ -4813,6 +4813,11 @@ export class Pipedrive implements INodeType {
|
|||
|
||||
// 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;
|
||||
|
||||
if (Object.keys(filters).length) {
|
||||
|
|
Loading…
Reference in a new issue