fix for no auth
This commit is contained in:
@@ -25,7 +25,7 @@ const Auth = {
|
|||||||
if (req.user) {
|
if (req.user) {
|
||||||
next()
|
next()
|
||||||
} else {
|
} else {
|
||||||
res.status(404)
|
res.sendStatus(404)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user