Skip to content

Commit 4d0a1f1

Browse files
committed
Add default ses region
1 parent acd0732 commit 4d0a1f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mailer/ses.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ type SESMailer struct {
2424
var _ Mailer = &SESMailer{}
2525

2626
type SESMailerConfig struct {
27-
Sender string `envconfig:"TIDEPOOL_EMAIL_SENDER",validate:"email"`
28-
Region string `envconfig:"TIDEPOOL_SES_REGION",validate:"required"`
27+
Sender string `envconfig:"TIDEPOOL_EMAIL_SENDER" default:"noreply@tidepool.org" validate:"email"`
28+
Region string `envconfig:"TIDEPOOL_SES_REGION" default:"us-west-2" validate:"required"`
2929
}
3030

3131
type SESMailerParams struct {

0 commit comments

Comments
 (0)