Skip to content

Commit 67cc723

Browse files
autofix-ci[bot]SebassNoob
authored andcommitted
[autofix.ci] apply automated fixes
1 parent 26a4c94 commit 67cc723

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

interapp-backend/api/email_handler/index.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@ import { Transporter, createTransport } from 'nodemailer';
22
import aws, { SES } from '@aws-sdk/client-ses';
33
import hbs from 'nodemailer-express-handlebars';
44

5-
65
// verify env integrity
76
if (process.env.NODE_ENV === 'production') {
8-
if (!process.env.SES_ACCESS_KEY_ID || !process.env.SES_SECRET_ACCESS_KEY || !process.env.EMAIL_USER) {
7+
if (
8+
!process.env.SES_ACCESS_KEY_ID ||
9+
!process.env.SES_SECRET_ACCESS_KEY ||
10+
!process.env.EMAIL_USER
11+
) {
912
console.error('Missing SES_ACCESS_KEY_ID or SES_SECRET_ACCESS_KEY');
1013
process.exit(1);
1114
}

interapp-backend/bun.lockb

37.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)