From 10e1382caa457351b8c597efcfb1b582d02282f1 Mon Sep 17 00:00:00 2001 From: Jonathan Bennetts Date: Fri, 25 Oct 2024 12:34:39 +0100 Subject: [PATCH] fix(Asana Node): Fix issue with pagination --- packages/nodes-base/nodes/Asana/GenericFunctions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nodes-base/nodes/Asana/GenericFunctions.ts b/packages/nodes-base/nodes/Asana/GenericFunctions.ts index 2b7c1b9a486bc..72492ecb6c4f7 100644 --- a/packages/nodes-base/nodes/Asana/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Asana/GenericFunctions.ts @@ -64,6 +64,7 @@ export async function asanaApiRequestAllItems( uri, ); uri = get(responseData, 'next_page.uri'); + query = {}; // query is not needed once we have next_page.uri returnData.push.apply(returnData, responseData.data as IDataObject[]); } while (responseData.next_page !== null);