wip: Change in otp controller for send correct message template

This commit is contained in:
2025-09-15 16:04:45 +05:30
parent 2c6b56e47d
commit 00a839a6d8

View File

@@ -78,6 +78,7 @@ async function SendOtp(req, res) {
case 'REGISTRATION':
otp = userOtp ? userOtp : generateOTP(6);
message = templates.REGISTRATION(otp);
break;
case 'RIGHT_UPDATE':
message = templates.RIGHT_UPDATE;
break;