Skip to content

Commit 54ff19a

Browse files
authored
Merge pull request #4106 from masslight/template-cp
Template cp
2 parents b77d633 + 025d875 commit 54ff19a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/zambdas/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"mock-reflex-test": "tsx src/scripts/reflex-test-helper.ts",
4747
"mock-unsolicited-result": "tsx src/scripts/unsolicited-result-helper.ts",
4848
"make-in-house-test-items": "tsx src/scripts/load-in-house-labs-tests.ts",
49-
"test-emails": "tsx src/scripts/test-emails.ts local",
49+
"test-emails": "tsx src/scripts/test-emails.ts",
5050
"remove-payor-orgs": "tsx src/scripts/remove-payor-orgs.ts",
5151
"update-locations-for-lab-accounts": "tsx src/scripts/update-locations-for-lab-accounts.ts"
5252
},

packages/zambdas/src/shared/communication.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ class EmailClient {
227227
supportPhoneNumber = locationSupportPhoneNumberMap[(templateData as any).location] || defaultSupportPhoneNumber;
228228
}
229229

230-
const fromEmail = ENVIRONMENT === 'production' ? sender : defaultLowersFromEmail;
231-
const replyTo = ENVIRONMENT === 'production' ? configReplyTo : defaultLowersFromEmail;
230+
const fromEmail = ENVIRONMENT !== 'local' ? sender : defaultLowersFromEmail;
231+
const replyTo = ENVIRONMENT !== 'local' ? configReplyTo : defaultLowersFromEmail;
232232

233233
const email = {
234234
...emailRest,

0 commit comments

Comments
 (0)