Skip to content

Commit

Permalink
fix(stubs): correct env variable access for SES
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainLanz committed Jun 21, 2024
1 parent 2455620 commit e203074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/config/mail.stub
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const mailConfig = defineConfig({
{{/if}} {{#if transports.includes('ses')}}
ses: transports.ses({
apiVersion: '2010-12-01',
region: process.env.AWS_REGION!,
region: env.get('AWS_REGION'),
credentials: {
accessKeyId: env.get('AWS_ACCESS_KEY_ID'),
secretAccessKey: env.get('AWS_SECRET_ACCESS_KEY'),
Expand Down

0 comments on commit e203074

Please sign in to comment.