mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
add ecom order products option decrisption
This commit is contained in:
@@ -105,10 +105,14 @@ export async function activeCampaignApiRequestAllItems(this: IHookFunctions | IE
|
||||
|
||||
if (dataKey === undefined) {
|
||||
returnData.push.apply(returnData, responseData);
|
||||
itemsReceived += returnData.length;
|
||||
if (returnData != undefined) {
|
||||
itemsReceived += returnData.length;
|
||||
}
|
||||
} else {
|
||||
returnData.push.apply(returnData, responseData[dataKey]);
|
||||
itemsReceived += responseData[dataKey].length;
|
||||
if (responseData[dataKey] != undefined) {
|
||||
itemsReceived += responseData[dataKey].length;
|
||||
}
|
||||
}
|
||||
|
||||
query.offset = itemsReceived;
|
||||
|
||||
Reference in New Issue
Block a user