🐛 Fixing the limit for searching deals on hubspot (#1803)

This commit is contained in:
Omar Ajoue
2021-05-20 02:46:06 +02:00
committed by GitHub
parent e21382baee
commit 481dbae16b

View File

@@ -2106,7 +2106,7 @@ export class Hubspot implements INodeType {
responseData = await hubspotApiRequestAllItems.call(this, 'results', 'POST', endpoint, body, qs);
} 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 = responseData.results;
}