mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(Asana Node): Fix issue with pagination (#11415)
This commit is contained in:
@@ -64,6 +64,7 @@ export async function asanaApiRequestAllItems(
|
|||||||
uri,
|
uri,
|
||||||
);
|
);
|
||||||
uri = get(responseData, 'next_page.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[]);
|
returnData.push.apply(returnData, responseData.data as IDataObject[]);
|
||||||
} while (responseData.next_page !== null);
|
} while (responseData.next_page !== null);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user