Browse Source

Bug fix in model.

Lee Morgan 5 năm trước cách đây
mục cha
commit
b1699eb955
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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