mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ ERPNext do not error if no data found
This commit is contained in:
@@ -89,7 +89,7 @@ export async function erpNextApiRequestAllItems(
|
||||
returnData.push.apply(returnData, responseData[propertyName]);
|
||||
query!.limit_start += query!.limit_page_length - 1;
|
||||
} while (
|
||||
responseData.data.length > 0
|
||||
responseData.data && responseData.data.length > 0
|
||||
);
|
||||
|
||||
return returnData;
|
||||
|
||||
Reference in New Issue
Block a user