mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 12:44:07 -08:00
🐛 Fixing the limit for searching deals on hubspot (#1803)
This commit is contained in:
parent
e21382baee
commit
481dbae16b
|
@ -2106,7 +2106,7 @@ export class Hubspot implements INodeType {
|
||||||
responseData = await hubspotApiRequestAllItems.call(this, 'results', 'POST', endpoint, body, qs);
|
responseData = await hubspotApiRequestAllItems.call(this, 'results', 'POST', endpoint, body, qs);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
qs.count = this.getNodeParameter('limit', 0) as number;
|
body.limit = this.getNodeParameter('limit', 0) as number;
|
||||||
responseData = await hubspotApiRequest.call(this, 'POST', endpoint, body, qs);
|
responseData = await hubspotApiRequest.call(this, 'POST', endpoint, body, qs);
|
||||||
responseData = responseData.results;
|
responseData = responseData.results;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue