diff options
author | Puyodead1 <puyodead@protonmail.com> | 2023-02-24 00:10:50 -0500 |
---|---|---|
committer | Puyodead1 <puyodead@protonmail.com> | 2023-02-24 00:10:50 -0500 |
commit | a78e13073f2fb070e15067d5fcc67797d890bc7e (patch) | |
tree | 32b2bcd233c045d0fd2103c4c6ed245127aab363 /src/api | |
parent | use a fixed mailjet transport (diff) | |
download | server-a78e13073f2fb070e15067d5fcc67797d890bc7e.tar.xz |
don't print anything if email send is successful
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/routes/auth/verify/resend.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/api/routes/auth/verify/resend.ts b/src/api/routes/auth/verify/resend.ts index d54ddf73..1cd14f23 100644 --- a/src/api/routes/auth/verify/resend.ts +++ b/src/api/routes/auth/verify/resend.ts @@ -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) => { |