瀏覽代碼

Bug fix in model.

Lee Morgan 5 年之前
父節點
當前提交
b1699eb955
共有 1 個文件被更改,包括 1 次插入1 次删除
  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