Browse Source

I think I finally fixed all the bugs...

Lee Morgan 5 năm trước cách đây
mục cha
commit
37a8eda218
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      controllers/squareData.js

+ 1 - 1
controllers/squareData.js

@@ -119,7 +119,7 @@ module.exports = {
                                 posId: item.id,
                                 merchant: merchant._id,
                                 name: `${response[0].data.objects[i].item_data.name} '${item.item_variation_data.name}'`,
-                                price: item.item_variation_data.price_money.amount
+                                price: price
                             });
     
                             recipes.push(recipe);