summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@protonmail.com>2023-02-24 00:10:50 -0500
committerPuyodead1 <puyodead@protonmail.com>2023-02-24 00:10:50 -0500
commita78e13073f2fb070e15067d5fcc67797d890bc7e (patch)
tree32b2bcd233c045d0fd2103c4c6ed245127aab363 /src/api
parentuse a fixed mailjet transport (diff)
downloadserver-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.ts3
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) => {