Skip to content

Commit

Permalink
fix link in email
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeshkhadka committed Jun 21, 2024
1 parent c4be5c5 commit d85fbf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/EmailServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function sendVerificationMail(token: string, email: string) {
subject: "Email Verification",
html: `<p>Thank you for using to Room Mates!</p>
<p>Please verify your email address and complete your profile by setting your password. Click the link below.</p>
<a href="${link}">Verify my email</a>`,
<a href="${link}">Verify my email</a><br> ${link}`,
});
console.log("Message sent: ", info.messageId);
}
Expand All @@ -37,7 +37,7 @@ export async function sendPasswordResetMail(token: string, email: string) {
subject: "Reset Password",
html: `<p>Thank you for using to Room Mates!</p>
<p>To reset your password, click the link below.</p>
<a href="${link}">Reset Password</a>`,
<a href="${link}">Reset Password</a> ${link}`,
});
console.log("Message sent: ", info.messageId);
}

0 comments on commit d85fbf2

Please sign in to comment.