0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 19:02:38 +00:00

Update lock review route

This commit is contained in:
G.Ambatte
2024-04-21 22:48:11 +12:00
parent 8c5f2ff61c
commit b4a7dc0cbd

View File

@@ -165,7 +165,7 @@ router.get('/admin/lock', mw.adminOnly, async (req, res)=>{
} }
}); });
router.get('/admin/lockreviews', mw.adminOnly, async (req, res)=>{ router.get('/admin/lock/reviews', mw.adminOnly, async (req, res)=>{
try { try {
const countReviewsPipeline = [ const countReviewsPipeline = [
{ {