Edit surveys

This commit is contained in:
Swift
2024-02-24 17:33:11 +03:30
parent a4a151ae6b
commit cd22b6eefc
5 changed files with 50 additions and 11 deletions
@@ -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)=>{