0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Fix error message

This commit is contained in:
G.Ambatte
2024-04-21 22:51:53 +12:00
parent b4a7dc0cbd
commit 14c7a11528

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' });
}
});