mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
⚡ ERPNext do not error if no data found
This commit is contained in:
parent
daf91a1228
commit
d22c0deea4
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue