Explorar o código

I think I finally fixed all the bugs...

Lee Morgan %!s(int64=5) %!d(string=hai) anos
pai
achega
37a8eda218
Modificáronse 1 ficheiros con 1 adicións e 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);