Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored and SebassNoob committed May 3, 2024
1 parent 26a4c94 commit 67cc723
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions interapp-backend/api/email_handler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ import { Transporter, createTransport } from 'nodemailer';
import aws, { SES } from '@aws-sdk/client-ses';
import hbs from 'nodemailer-express-handlebars';


// verify env integrity
if (process.env.NODE_ENV === 'production') {
if (!process.env.SES_ACCESS_KEY_ID || !process.env.SES_SECRET_ACCESS_KEY || !process.env.EMAIL_USER) {
if (
!process.env.SES_ACCESS_KEY_ID ||
!process.env.SES_SECRET_ACCESS_KEY ||
!process.env.EMAIL_USER
) {
console.error('Missing SES_ACCESS_KEY_ID or SES_SECRET_ACCESS_KEY');
process.exit(1);
}
Expand Down
Binary file modified interapp-backend/bun.lockb
Binary file not shown.

0 comments on commit 67cc723

Please sign in to comment.