From 481dbae16b5119cb3ad9d9f7dc782759f024afe1 Mon Sep 17 00:00:00 2001 From: Omar Ajoue Date: Thu, 20 May 2021 02:46:06 +0200 Subject: [PATCH] :bug: Fixing the limit for searching deals on hubspot (#1803) --- packages/nodes-base/nodes/Hubspot/Hubspot.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts b/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts index b99fbaf0d7..3c9d57e98c 100644 --- a/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts +++ b/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts @@ -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; }