Open nirvish123 opened 4 years ago
This below code works in NodeJS Express framework but when I deployed same code in AWS Lambda function it didn't work. Here's my demo code.
BEGIN
const SendOtp = require('sendotp'); const objSendOtp = new SendOtp('');
objSendOtp.send(, , , function(err, data){ if(err) console.log(err); else console.log(data); });
END
This below code works in NodeJS Express framework but when I deployed same code in AWS Lambda function it didn't work. Here's my demo code.
BEGIN
const SendOtp = require('sendotp'); const objSendOtp = new SendOtp('');
objSendOtp.send(, , , function(err, data){
if(err) console.log(err);
else
console.log(data);
});
END