Skip to content

Commit d16c3ab

Browse files
authored
chore: bold email otp (#880)
Bold the OTP in the email for easy viewing ## Before & After Screenshots **BEFORE**: <img width="437" alt="Screenshot 2025-02-25 at 9 20 34 AM" src="https://github.com/user-attachments/assets/afea4694-161b-4471-a8f6-f910c646f098" /> **AFTER**: <img width="378" alt="Screenshot 2025-02-25 at 9 20 08 AM" src="https://github.com/user-attachments/assets/498addf6-93de-4420-8e7e-9e890856b7fc" />
1 parent aef727c commit d16c3ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend/src/graphql/mutations/request-otp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const requestOtp: MutationResolvers['requestOtp'] = async (_parent, params) => {
4949
// Send otp
5050
await sendEmail({
5151
subject: 'Your OTP for Plumber',
52-
body: `Your OTP is ${otp}. It's valid for ${
52+
body: `Your OTP is <b>${otp}</b>. It's valid for ${
5353
OTP_VALIDITY_IN_MS / 1000 / 60
5454
} minutes.`,
5555
recipient: email,

0 commit comments

Comments
 (0)