Skip to content

Not working in AWS Lambda function #30

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 ***

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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