0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 00:42:40 +00:00

initial commit

This commit is contained in:
Víctor Losada Hernández
2025-01-31 23:20:35 +01:00
parent 66bfc8f27b
commit 3ce9bb1310
5 changed files with 44 additions and 35 deletions

View File

@@ -135,7 +135,6 @@ router.put('/admin/compress/:id', (req, res)=>{
});
});
router.get('/admin/stats', mw.adminOnly, async (req, res)=>{
try {
const totalBrewsCount = await HomebrewModel.countDocuments({});