clearbit / clearbit-node

Node library for querying the Clearbit business intelligence APIs
https://clearbit.com/docs
MIT License
69 stars 35 forks source link

Async Await not working with clearbit bluebird on MongoDB triggers #51

Open ricky11 opened 2 years ago

ricky11 commented 2 years ago

I am using MongoDB cloud functions (triggers)

After install clearbit as a dependency, all seem to work fine when i use .then .catch

but if i use async await, the promise result is [{\"isFulfilled\":false,\"isRejected\":false}]"

this seems to be a bluebird issue?

It works on my local machine, but as some users here are also having problems with heroku and other cloud deployments.

Has needle been updated?