mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 07:34:54 +00:00
Refactor email sending method name to improve clarity
This commit is contained in:
@ -136,7 +136,7 @@ export class UserAuthService {
|
||||
});
|
||||
const subject = 'OTP send successfully';
|
||||
const message = `Your OTP code is ${otpCode}`;
|
||||
this.emailService.sendOTPEmail(data.email, subject, message);
|
||||
this.emailService.sendEmail(data.email, subject, message);
|
||||
return otpCode;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user