mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
⚡ small fix
This commit is contained in:
parent
21ebf11db7
commit
dfd8afc571
|
@ -60,9 +60,10 @@ export async function mauticApiRequestAllItems(this: IHookFunctions | IExecuteFu
|
|||
}
|
||||
returnData.push.apply(returnData, data);
|
||||
query.start++;
|
||||
data = [];
|
||||
} while (
|
||||
responseData.total !== undefined &&
|
||||
((query.limit * query.start) - parseInt(responseData.total)) <= 0
|
||||
((query.limit * query.start) - parseInt(responseData.total)) < 0
|
||||
);
|
||||
|
||||
return returnData;
|
||||
|
|
Loading…
Reference in a new issue