MSG91 / sendotp-node

38 stars 24 forks source link

Callbacks never getting called due to implementation of incorrect Promises #13

Closed saswatds closed 6 years ago

saswatds commented 6 years ago

The way by which promises has been implemented prevents the callbacks to be called. The logic of allow_promise also incorrect as its always undefined. Will try to post a fix.