Update Complaint.js
This commit is contained in:
@@ -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 },
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user