fix: Send notification email on Account Verified and sign up completed
This commit is contained in:
14
.vscode/tasks.json
vendored
Normal file
14
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"type": "npm",
|
||||||
|
"script": "dev",
|
||||||
|
"problemMatcher": [
|
||||||
|
"$node-sass"
|
||||||
|
],
|
||||||
|
"label": "npm: dev",
|
||||||
|
"detail": "nodemon src/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -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
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user