Using deviceIden instead of deviceId

This commit is contained in:
Antoine Aflalo 2014-04-20 14:36:45 +03:00
parent 4c6da0bf46
commit 022ec67ea7

View File

@ -100,9 +100,6 @@ function PushbulletNode(n) {
msg.payload = msg.payload.toString(); msg.payload = msg.payload.toString();
} }
try { try {
if (!isNaN(this.deviceId)) {
this.deviceId = Number(this.deviceId);
}
this.pusher.note(this.deviceId, titl, msg.payload, function (err, response) { this.pusher.note(this.deviceId, titl, msg.payload, function (err, response) {
if (err) node.error("Pushbullet error: " + err); if (err) node.error("Pushbullet error: " + err);
//console.log(response); //console.log(response);