mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
refactor: dynamic list to nestjs
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import { Transporter } from 'nodemailer';
|
||||
import { Mail } from './Mail';
|
||||
import { Inject } from '@nestjs/common';
|
||||
import { Inject, Injectable } from '@nestjs/common';
|
||||
import { MAIL_TRANSPORTER_PROVIDER } from './Mail.constants';
|
||||
|
||||
@Injectable()
|
||||
export class MailTransporter {
|
||||
constructor(
|
||||
@Inject(MAIL_TRANSPORTER_PROVIDER)
|
||||
|
||||
Reference in New Issue
Block a user