mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ small fix
This commit is contained in:
@@ -60,9 +60,10 @@ export async function mauticApiRequestAllItems(this: IHookFunctions | IExecuteFu
|
|||||||
}
|
}
|
||||||
returnData.push.apply(returnData, data);
|
returnData.push.apply(returnData, data);
|
||||||
query.start++;
|
query.start++;
|
||||||
|
data = [];
|
||||||
} while (
|
} while (
|
||||||
responseData.total !== undefined &&
|
responseData.total !== undefined &&
|
||||||
((query.limit * query.start) - parseInt(responseData.total)) <= 0
|
((query.limit * query.start) - parseInt(responseData.total)) < 0
|
||||||
);
|
);
|
||||||
|
|
||||||
return returnData;
|
return returnData;
|
||||||
|
|||||||
Reference in New Issue
Block a user