|
@@ -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 },
|
|
|
- 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 } });
|