mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-12 15:44:06 -08:00
fix(Asana Node): Fix issue with pagination (#11415)
This commit is contained in:
parent
12d218ea38
commit
04c075a46b
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue