mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2026-10-26 02:07:57 +00:00
feat: styling email template
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { HandlebarsAdapter } from '@nestjs-modules/mailer/dist/adapters/handlebars.adapter';
|
||||
import { ConfigService } from '@nestjs/config';
|
||||
import path from 'path';
|
||||
|
||||
export function buildMailerOptions(config: ConfigService) {
|
||||
return {
|
||||
transport: {
|
||||
@@ -20,5 +19,13 @@ export function buildMailerOptions(config: ConfigService) {
|
||||
strict: true,
|
||||
},
|
||||
},
|
||||
options: {
|
||||
partials: {
|
||||
dir: path.join(__dirname, '../../common/modules/notification/templates', 'partials'),
|
||||
options: {
|
||||
strict: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user