mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 08:34:07 -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,
|
||||||
);
|
);
|
||||||
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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue