mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(NocoDB Node): Fix pagination (#3081)
This commit is contained in:
committed by
GitHub
parent
7625421b81
commit
5f44b0dad5
@@ -96,13 +96,12 @@ export async function apiRequestAllItems(this: IHookFunctions | IExecuteFunction
|
||||
|
||||
do {
|
||||
responseData = await apiRequest.call(this, method, endpoint, body, query);
|
||||
|
||||
returnData.push(...responseData);
|
||||
|
||||
query.offset += query.limit;
|
||||
|
||||
} while (
|
||||
responseData.length === 0
|
||||
responseData.length !== 0
|
||||
);
|
||||
|
||||
return returnData;
|
||||
|
||||
Reference in New Issue
Block a user