alexwhitman/node-pushbullet-api

Multiple instatiations fail...

bigmonkeyboy opened this issue · 4 comments

multiple calls of new Pushbullet... fail as the variable "request" is too overloaded...
simple patch is to change line 4 to be
var Request = require('request');
and then line 21 to be
request = Request.defaults({

Fixed with 8759227

Alex, thanks for the super quick fix. Will you also update npm at some point ? Ta.

0.5.0 just pushed to npm.

Great - thanks again !