Update Complaint.js

This commit is contained in:
Swift
2024-02-24 19:09:29 +03:30
parent d8d95b6069
commit 994e7f8d97
+2
View File
@@ -13,11 +13,13 @@ const ComplaintSchema = mongoose.Schema({
caption: String,
callType: Boolean,
brand: Boolean,
desc:String,
type:{
type:Number,
default:0
},
read: { type: Boolean, default: false },
user:{type:String, ref:'User'},
complete: { type: Boolean, default: false },
})