소스 검색

Remove some console logs.
Tinyify.

Lee Morgan 5 년 전
부모
커밋
8c3edeee1a
2개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      controllers/orderData.js
  2. 0 0
      views/dashboardPage/bundle.js

+ 0 - 5
controllers/orderData.js

@@ -233,10 +233,6 @@ module.exports = {
                             let baseQuantity = 0;
                             if(merchant.inventory[j].ingredient.specialUnit === "bottle"){
                                 baseQuantity = array[i][locations.quantity] * merchant.inventory[j].ingredient.unitSize * 1000;
-                                console.log(array[i][locations.price]);
-                                console.log((array[i][locations.price] * 100));
-                                console.log(merchant.inventory[j].ingredient.unitSize);
-                                console.log((array[i][locations.price] * 100) / merchant.inventory[j].ingredient.unitSize);
                                 currentOrder.ingredients.push({
                                     ingredient: merchant.inventory[j].ingredient._id,
                                     quantity: baseQuantity,
@@ -269,7 +265,6 @@ module.exports = {
                 return res.json(response[0]);
             })
             .catch((err)=>{
-                console.log(err);
                 if(typeof(err) === "string"){
                     return res.json(err);
                 }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
views/dashboardPage/bundle.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.