Renamed 'status' variable

This commit is contained in:
Rodel Calasagsag 2021-07-29 18:27:26 +08:00
parent fdad5c7c5f
commit b116756b09
1 changed files with 2 additions and 2 deletions

View File

@ -363,10 +363,10 @@ const batchCreateOrders = async (statuses) => {
const path = '/wc/v3/orders/batch';
// Create an order per status
const orders = statuses.map((s) => {
const orders = statuses.map((status) => {
return {
...defaultOrder,
status: s
status: status
};
});