0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-12 13:12:46 +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) { } catch (error) {
console.error(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' });
} }
}); });