Spaces:
Runtime error
Runtime error
abhishek-akbari01 commited on
Commit ·
aa94e69
1
Parent(s): 653bf49
email subject change
Browse files
src/controllers/user.controller.ts
CHANGED
|
@@ -35,7 +35,7 @@ const createUser = async (req: Request, res: Response) => {
|
|
| 35 |
};
|
| 36 |
|
| 37 |
sendMail({
|
| 38 |
-
subject: 'Welcome to Fusion Bills Your Account Has Been Created',
|
| 39 |
to: email,
|
| 40 |
content: `<p>Hi <b>${name},</b></p>
|
| 41 |
<p>Welcome to Fusion Bills We’re excited to have you on board.</p>
|
|
@@ -279,10 +279,10 @@ const updateUserById = async (req: Request, res: Response) => {
|
|
| 279 |
<p>Best regards,<br>Team Fusion Bills</p>`
|
| 280 |
|
| 281 |
let subject = isEmailUpdated && isPasswordUpdated ?
|
| 282 |
-
`Your Email and Password Have Been Updated`
|
| 283 |
: isPasswordUpdated ?
|
| 284 |
-
`Your Password Has Been Successfully Updated` :
|
| 285 |
-
`
|
| 286 |
|
| 287 |
if (isEmailUpdated || isPasswordUpdated) {
|
| 288 |
sendMail({
|
|
|
|
| 35 |
};
|
| 36 |
|
| 37 |
sendMail({
|
| 38 |
+
subject: 'Welcome to Fusion Bills - Your Account Has Been Created',
|
| 39 |
to: email,
|
| 40 |
content: `<p>Hi <b>${name},</b></p>
|
| 41 |
<p>Welcome to Fusion Bills We’re excited to have you on board.</p>
|
|
|
|
| 279 |
<p>Best regards,<br>Team Fusion Bills</p>`
|
| 280 |
|
| 281 |
let subject = isEmailUpdated && isPasswordUpdated ?
|
| 282 |
+
`Fusion Bills - Your Email and Password Have Been Updated`
|
| 283 |
: isPasswordUpdated ?
|
| 284 |
+
`Fusion Bills - Your Password Has Been Successfully Updated` :
|
| 285 |
+
`Welcome to Fusion Bills - Your Email Address Has Been Updated`
|
| 286 |
|
| 287 |
if (isEmailUpdated || isPasswordUpdated) {
|
| 288 |
sendMail({
|