Skip to content

Commit 8f416bd

Browse files
author
manish
committed
set timeout for 3 sec
1 parent 2c561dd commit 8f416bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/controllers/feedbackController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const getFeedback = async (req, res) => {
44

55
try {
66

7-
const feedback = await Feedback.find({ rating: { $gt: 3 } }).sort({ rating: 1 });
7+
const feedback = await Feedback.find({ rating: { $gt: 3 } });
88

99
// Send the tasks as a response
1010
res.status(200).json(feedback);

0 commit comments

Comments
 (0)