Edit surveys
This commit is contained in:
@@ -75,14 +75,7 @@ module.exports.getsComplaint = [
|
||||
}
|
||||
]
|
||||
|
||||
module.exports.getsSurvey = [
|
||||
async(req, res)=>{
|
||||
const complaints = await Complaint.find({type:1})
|
||||
|
||||
res.status(200).json(complaints)
|
||||
|
||||
}
|
||||
]
|
||||
|
||||
module.exports.get = [
|
||||
async(req, res)=>{
|
||||
|
||||
Reference in New Issue
Block a user