Add some mocha/chai tests
This commit is contained in:
@@ -52,7 +52,6 @@ const login = async (req, res, next) => {
|
||||
try {
|
||||
user = await users.getByEmail(req.body.email);
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
return next(error, null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user