don't print anything if email send is successful

This commit is contained in:
Puyodead1
2023-02-24 00:10:50 -05:00
parent 6131db986f
commit a78e13073f
2 changed files with 16 additions and 21 deletions
+1 -2
View File
@@ -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) => {