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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user