0
0
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:
G.Ambatte
2024-06-08 15:31:46 +12:00
parent 6314672109
commit fe09b89fcb

View File

@@ -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 {