remove unncessary code and confidential data

This commit is contained in:
prafullnavkar-nxg
2023-10-23 12:23:15 +05:30
parent 95516ce9da
commit 8938a19358
16 changed files with 54 additions and 548 deletions
@@ -2,17 +2,11 @@ async function sendMailOTPv1(request) {
try {
//--for elearning app side
let code = Math.floor(1000 + Math.random() * 9000);
let getMessage = code + ' This is your verification code';
let email = request.params.email;
var Hashcode;
var TenantId = request.params.TenantId ? request.params.TenantId : undefined;
// console.log("In tempSendOTPv2");
console.log(JSON.stringify(request));
var encoded = encodeURIComponent(Hashcode);
var otp = '<%23> You OTP is:' + code + ' ' + encoded + ' -QikEln';
otp = otp.toString();
// console.log(JSON.stringify(request));
if (email) {
axios({