mirror of
https://gitlab.com/nekoya/web.git
synced 2024-12-22 14:35:01 +01:00
Fix register bug
This commit is contained in:
parent
02773d78a5
commit
d8c8d88df9
1 changed files with 5 additions and 4 deletions
|
@ -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 ~'
|
||||
})
|
||||
}
|
||||
});
|
||||
res.status(200);
|
||||
res.json({
|
||||
'message': 'Register Verification Sent ~'
|
||||
})
|
||||
} else {
|
||||
res.status(400);
|
||||
res.json({
|
||||
|
|
Loading…
Reference in a new issue