Explorar el Código

I think I finally fixed all the bugs...

Lee Morgan hace 5 años
padre
commit
37a8eda218
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);