lrf402788946 5 éve
szülő
commit
5d0438f721
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/model/dock.js

+ 1 - 1
app/model/dock.js

@@ -24,7 +24,7 @@ const Dock = {
   join_end: { type: String, required: true, maxLength: 200 }, // 报名截止时间
   apply: { type: [ apply ], default: [] },
   is_allowed: { type: String, default: '0', maxLength: 1 }, // 0未审核;1已允许;2已拒绝
-  reason: { type: String, required: true, maxLength: 200 }, // 拒绝理由
+  reason: { type: String, required: false, maxLength: 200 }, // 拒绝理由
   user_id: { type: String, required: true, maxLength: 200 }, // 申请用户
 };
 const schema = new Schema(Dock, { toJSON: { virtuals: true } });