fix spelling issue
This commit is contained in:
parent
78d6d9f2e1
commit
b9cbd22d8b
2
app.js
2
app.js
@ -155,7 +155,7 @@ app.get('/admin/dashboard', checkAdminAuth, async (req, res) => {
|
||||
app.post('/admin/update-status', checkAdminAuth, async (req, res) => {
|
||||
const { id, status } = req.body;
|
||||
await Request.update({ status }, { where: { id } });
|
||||
res.redireHot('/admin/dashboard');
|
||||
res.redirect('/admin/dashboard');
|
||||
});
|
||||
|
||||
app.post('/admin/delete-request', checkAdminAuth, async (req, res) => {
|
||||
|
Reference in New Issue
Block a user