Fix register bug

This commit is contained in:
Moe Poi ~ 2021-11-17 15:54:55 +07:00
parent 02773d78a5
commit d8c8d88df9

View file

@ -88,12 +88,13 @@ router.post('/register', async (req, res) => {
res.json({
'message': 'Bad Request'
})
}
});
} else {
res.status(200);
res.json({
'message': 'Register Verification Sent ~'
})
}
});
} else {
res.status(400);
res.json({