Fix error message

This commit is contained in:
G.Ambatte committed 2024-04-21 22:51:53 +12:00
1 parent b4a7dc0cbd
commit 14c7a11528
1 file changed
+1 -1
+1 -1
View File
@@ -182,7 +182,7 @@ router.get('/admin/lock/reviews', mw.adminOnly, async (req, res)=>{
});
} catch (error) {
console.error(error);
return res.status(500).json({ error: 'Unable to get lock count' });
return res.status(500).json({ error: 'Unable to get review collection' });
}
});