diff --git a/packages/nodes-base/nodes/Bubble/GenericFunctions.ts b/packages/nodes-base/nodes/Bubble/GenericFunctions.ts index b0f9cc3002164..0775a93e2cf52 100644 --- a/packages/nodes-base/nodes/Bubble/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Bubble/GenericFunctions.ts @@ -69,9 +69,10 @@ export async function bubbleApiRequestAllItems( let responseData; qs.limit = 100; + qs.cursor = 0; do { responseData = await bubbleApiRequest.call(this, method, endpoint, body, qs); - qs.cursor = responseData.cursor; + qs.cursor += qs.limit; returnData.push.apply(returnData, responseData.response.results); } while (responseData.response.remaining !== 0);