mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
Custom fields feature.
This commit is contained in:
@@ -92,7 +92,7 @@ export default {
|
||||
});
|
||||
}
|
||||
const { email } = req.body;
|
||||
const user = User.where('email', email).fetch();
|
||||
const user = await User.where('email', email).fetch();
|
||||
|
||||
if (!user) {
|
||||
return res.status(422).send();
|
||||
|
||||
Reference in New Issue
Block a user