Skip to content

Commit

Permalink
Remove email sending from dev code
Browse files Browse the repository at this point in the history
  • Loading branch information
Baumann Oskar committed Feb 26, 2024
1 parent e94ebe3 commit 6bcb859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/communicationUtils/email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const email = new Email({
defaultLocale: fallbackLocale,
directory: path.join(__dirname, '..', '..', 'email', 'locales'),
},
send: true, //process.env.NODE_ENV === 'production',
send: process.env.NODE_ENV === 'production',
})

export async function sendMail(receiverMail: string, subject: string, mailbody: string) {
Expand Down

0 comments on commit 6bcb859

Please sign in to comment.