Deploy to staging #61
|
|
@ -1 +1 @@
|
||||||
{"createdAt":1747970028717}
|
{"createdAt":1748224707802}
|
||||||
|
|
@ -8,6 +8,7 @@ import { MailProcessor } from './process/mail.processor';
|
||||||
imports: [
|
imports: [
|
||||||
MailerModule.forRootAsync({
|
MailerModule.forRootAsync({
|
||||||
imports: [ConfigModule],
|
imports: [ConfigModule],
|
||||||
|
|
||||||
useFactory: async (config: ConfigService) => ({
|
useFactory: async (config: ConfigService) => ({
|
||||||
transport: {
|
transport: {
|
||||||
host: config.get<string>('MAIL_SERVER'),
|
host: config.get<string>('MAIL_SERVER'),
|
||||||
|
|
@ -18,7 +19,11 @@ import { MailProcessor } from './process/mail.processor';
|
||||||
pass: config.get<string>('MAIL_PASSWORD'),
|
pass: config.get<string>('MAIL_PASSWORD'),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
defaults: {
|
||||||
|
from: `"Bids" <${config.get<string>('MAIL_USER')}>`,
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
|
|
||||||
inject: [ConfigService],
|
inject: [ConfigService],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ export class AdminNotificationListener {
|
||||||
to: mails,
|
to: mails,
|
||||||
html: this.mailsService.getAuctionStatusEmailContent(bid),
|
html: this.mailsService.getAuctionStatusEmailContent(bid),
|
||||||
subject:
|
subject:
|
||||||
'Report Auto Auctions System ' +
|
`[${bid.status.toUpperCase()}] Report Auto Auctions System ` +
|
||||||
moment(new Date()).format('YYYY-MM-DD HH:mm'),
|
moment(new Date()).format('YYYY-MM-DD HH:mm'),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue