mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 22:52:40 +00:00
Shift API call for REQUEST REVIEW to PUT
This commit is contained in:
@@ -237,7 +237,7 @@ router.get('/admin/lock/reviews', mw.adminOnly, async (req, res)=>{
|
||||
}
|
||||
});
|
||||
|
||||
router.get('/admin/lock/review/request/:id', async (req, res)=>{
|
||||
router.put('/admin/lock/review/request/:id', async (req, res)=>{
|
||||
// === This route is NOT Admin only ===
|
||||
// Any user can request a review of their document
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user