Skip to content

Commit

Permalink
fix(email): wrong object access in email config
Browse files Browse the repository at this point in the history
  • Loading branch information
kkopanidis committed Dec 8, 2023
1 parent ac4e296 commit d2c957e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/email/src/email-provider/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class EmailProvider {
constructor(transport: string, transportSettings: any) {
if (transport === 'mailgun') {
const { apiKey, proxy, host } = transportSettings.mailgun;
let domain = ConfigController.getInstance().config.email.sendingDomain;
let domain = ConfigController.getInstance().config.sendingDomain;
if (!isEmpty(transportSettings.mailgun.domain)) {
domain = transportSettings.mailgun.domain;
}
Expand Down

0 comments on commit d2c957e

Please sign in to comment.