0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 13:02:43 +00:00

Remove debugging test route

This commit is contained in:
G.Ambatte
2025-04-07 20:04:45 +12:00
parent e2f2b2962f
commit 26aa302714

View File

@@ -166,10 +166,6 @@ router.get('/admin/stats', mw.adminOnly, async (req, res)=>{
// ####################### LOCKS
router.get('/api/lock/throw', asyncHandler(async ()=>{
throw { HBErrorCode: '60', code: 500, message: 'Thrown deliberately' };
}));
router.get('/api/lock/count', mw.adminOnly, asyncHandler(async (req, res)=>{
const countLocksQuery = {