Parcourir la source

Remove log statements.

Lee Morgan il y a 5 ans
Parent
commit
0c5c12f83d

+ 0 - 1
controllers/admin.js

@@ -237,7 +237,6 @@ module.exports = {
                 return res.redirect("/dashboard");
             })
             .catch((err)=>{
-                console.log(err);
                 return res.json("ERROR: A whoopsie has been made");
             });
     }

+ 0 - 3
views/dashboardPage/js/classes/Ingredient.js

@@ -19,9 +19,6 @@ class SubIngredient{
     }
 
     getDisplayQuantity(){
-        console.log(this._ingredient);
-        console.log(this._parent);
-        console.log(this._parent.unit);
         return `${parseFloat(this.quantity.toFixed(2))} ${this.unit} / ${this._parent.unit}`;
     }
 }

+ 0 - 1
views/dashboardPage/js/sidebars/newRecipe.js

@@ -110,7 +110,6 @@ let newRecipe = {
                 }
             })
             .catch((err)=>{
-                console.log(err);
                 controller.createBanner("SOMETHING WENT WRONG. PLEASE REFRESH THE PAGE", "error");
             })
             .finally(()=>{