fix: update the nodemailer to remove the export function from notification
This commit is contained in:
1 parent
2b5d912137
commit
d1fa3565e2
2 files changed
+1327
-2419
No files matched your search
@@ -1,9 +1,9 @@
|
|||||||
'use server'
|
'use server'
|
||||||
|
|
||||||
import { EmailContent, EmailProductInfo, NotificationType } from '@/types';
|
import { EmailContent, EmailProductInfo, NotificationType } from '@/types';
|
||||||
import nodemailer from 'nodemailer';
|
import nodemailer from 'nodemailer'
|
||||||
|
|
||||||
export const Notification = {
|
const Notification = {
|
||||||
WELCOME: 'WELCOME',
|
WELCOME: 'WELCOME',
|
||||||
CHANGE_OF_STOCK: 'CHANGE_OF_STOCK',
|
CHANGE_OF_STOCK: 'CHANGE_OF_STOCK',
|
||||||
LOWEST_PRICE: 'LOWEST_PRICE',
|
LOWEST_PRICE: 'LOWEST_PRICE',
|
||||||
|
|||||||
Reference in new issue
Block a user