Explorar el Código

Fix merge errors

Lee Morgan hace 6 años
padre
commit
20c8b2710f
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      models/recipe.js

+ 0 - 5
models/recipe.js

@@ -18,13 +18,8 @@ const RecipeSchema = new mongoose.Schema({
         },
         quantity: {
             type: Number,
-<<<<<<< HEAD
             min: [0, "Cannot have a negative quantity"],
             required: [true, "Must provide a quantity"]
-=======
-            min: [0, "Quantity cannot be a negative number"],
-            required: true
->>>>>>> validation
         }
     }]
 });