We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c561dd commit 8f416bdCopy full SHA for 8f416bd
server/controllers/feedbackController.js
@@ -4,7 +4,7 @@ const getFeedback = async (req, res) => {
4
5
try {
6
7
- const feedback = await Feedback.find({ rating: { $gt: 3 } }).sort({ rating: 1 });
+ const feedback = await Feedback.find({ rating: { $gt: 3 } });
8
9
// Send the tasks as a response
10
res.status(200).json(feedback);
0 commit comments