Explorar o código

Bug fix in model.

Lee Morgan %!s(int64=5) %!d(string=hai) anos
pai
achega
b1699eb955
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      models/recipe.js

+ 1 - 1
models/recipe.js

@@ -26,7 +26,7 @@ const RecipeSchema = new mongoose.Schema({
     category: {
         type: String,
         required: false
-    }
+    },
     hidden: {
         type: Boolean,
         default: false