mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-01 17:22:42 +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 ===
|
// === This route is NOT Admin only ===
|
||||||
// Any user can request a review of their document
|
// Any user can request a review of their document
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user