fix: dogfood resend transport

This commit is contained in:
Mythie
2023-09-29 12:17:41 +10:00
parent 85924f49f7
commit a5e087f209
4 changed files with 15 additions and 146 deletions

View File

@ -1,7 +1,8 @@
import { createTransport } from 'nodemailer';
import { ResendTransport } from '@documenso/nodemailer-resend';
import { MailChannelsTransport } from './transports/mailchannels';
import { ResendTransport } from './transports/resend';
const getTransport = () => {
const transport = process.env.NEXT_PRIVATE_SMTP_TRANSPORT ?? 'smtp-auth';