You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the best practices around promises is to use existing npm libraries that return promises, rather than trying to write custom promisify adapters. Here's an npm module that could be used to replace request with something that returns a promise: https://github.com/request/request-promise