Эх сурвалжийг харах

I think I finally fixed all the bugs...

Lee Morgan 5 жил өмнө
parent
commit
37a8eda218

+ 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);