fix: Send notification email on Account Verified and sign up completed

This commit is contained in:
2023-11-09 20:30:38 -06:00
parent f5d4194c4e
commit 04b85b1b93
2 changed files with 15 additions and 1 deletions

14
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "dev",
"problemMatcher": [
"$node-sass"
],
"label": "npm: dev",
"detail": "nodemon src/"
}
]
}

View File

@@ -184,7 +184,7 @@ const ConfirmAccount = async(req, res) => {
const content = { user_name : email }; const content = { user_name : email };
const receiver = email; const receiver = email;
// await emailEvent( EMAIL_EVENTS.ACCOUNT_CONFIRMED , receiver , content ); await emailEvent( EMAIL_EVENTS.ACCOUNT_CONFIRMED , receiver , content );
console.log( console.log(
content content
); );