fix: update the nodemailer to remove the export function from notification

This commit is contained in:
Leon Xu committed 2023-12-30 17:09:31 -08:00
1 parent 2b5d912137
commit d1fa3565e2
2 files changed
+1327 -2419

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
'use server'
import { EmailContent, EmailProductInfo, NotificationType } from '@/types';
import nodemailer from 'nodemailer';
import nodemailer from 'nodemailer'
export const Notification = {
const Notification = {
WELCOME: 'WELCOME',
CHANGE_OF_STOCK: 'CHANGE_OF_STOCK',
LOWEST_PRICE: 'LOWEST_PRICE',