mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Using deviceIden instead of deviceId
This commit is contained in:
parent
4c6da0bf46
commit
022ec67ea7
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user