Skip to content

Commit 11506f6

Browse files
committed
fix(configure): list postmark under supported transports
The postmark transport was already implemented but missing from the configure command, so it could not be selected during setup nor did it generate the corresponding config block and env variables.
1 parent b44ee9e commit 11506f6

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

configure.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const ENV_VARIABLES: Record<string, Record<string, string | number>> = {
2626
sparkpost: { SPARKPOST_API_KEY: 'your-sparkpost-api-key' },
2727
resend: { RESEND_API_KEY: 'your-resend-api-key' },
2828
brevo: { BREVO_API_KEY: 'your-brevo-api-key' },
29+
postmark: { POSTMARK_API_KEY: 'your-postmark-api-key' },
2930
}
3031

3132
/**

stubs/config/mail.stub

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ const mailConfig = defineConfig({
7979
key: env.get('RESEND_API_KEY'),
8080
baseUrl: 'https://api.resend.com',
8181
}),
82+
{{/if}} {{#if transports.includes('postmark')}}
83+
postmark: transports.postmark({
84+
key: env.get('POSTMARK_API_KEY'),
85+
baseUrl: 'https://api.postmarkapp.com',
86+
}),
8287
{{/if}}
8388
},
8489
})

0 commit comments

Comments
 (0)