Skip to content

Not working in AWS Lambda function #30

@nirvish123

Description

@nirvish123

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('<API_SECRET>');

objSendOtp.send(, , , function(err, data){
if(err) console.log(err);
else
console.log(data);
});

*** END ***

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions