Custom fields feature.

This commit is contained in:
Ahmed Bouhuolia
2019-09-13 20:24:09 +02:00
parent cba17739d6
commit ed4d37c8fb
64 changed files with 2307 additions and 121 deletions

View File

@@ -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();