mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-23 01:45:23 +00:00
don't print anything if email send is successful
This commit is contained in:
@@ -37,8 +37,7 @@ router.post(
|
||||
}
|
||||
|
||||
await Email.sendVerificationEmail(user, user.email)
|
||||
.then((info) => {
|
||||
console.log("Message sent: %s", info.messageId);
|
||||
.then(() => {
|
||||
return res.sendStatus(204);
|
||||
})
|
||||
.catch((e) => {
|
||||
|
||||
Reference in New Issue
Block a user