mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Fix bug on Paddle-Node with returning all users
This commit is contained in:
@@ -58,8 +58,9 @@ export async function paddleApiRequestAllItems(this: IHookFunctions | IExecuteFu
|
||||
do {
|
||||
responseData = await paddleApiRequest.call(this, endpoint, method, body, query);
|
||||
returnData.push.apply(returnData, responseData[propertyName]);
|
||||
body.page++;
|
||||
} while (
|
||||
responseData[propertyName].length !== 0
|
||||
responseData[propertyName].length !== 0 && responseData[propertyName].length === body.results_per_page
|
||||
);
|
||||
|
||||
return returnData;
|
||||
|
||||
Reference in New Issue
Block a user