Skip to content

Commit

Permalink
fix: incorrect path to templates folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
aniebietafia committed Jan 29, 2025
1 parent 08120aa commit d066024
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ import { SendPasswordResetTokenProvider } from './providers/send-password-reset-
import { SendResetPasswordConfirmationProvider } from './providers/send-reset-password-confirmation.provider';
import { SendPasswordChangedEmailProvider } from './providers/send-password-changed-email.provider';

// const templateDir =
// process.env.NODE_ENV === 'production'
// ? join(__dirname, '/../../../messaging/email/mailgun-service/templates')
// : join(__dirname, '/messaging/email/mailgun-service/templates');

@Global()
@Module({
imports: [
Expand All @@ -37,7 +32,7 @@ import { SendPasswordChangedEmailProvider } from './providers/send-password-chan
from: `Brints Group <no-reply@brintsgroup.live>`,
},
template: {
dir: join(__dirname, '/messaging/email/mailgun-service/templates'),
dir: join(__dirname, 'templates'),
adapter: new EjsAdapter({
inlineCssEnabled: true,
}),
Expand Down

0 comments on commit d066024

Please sign in to comment.