Update main.js
This commit is contained in:
@@ -126,6 +126,7 @@ function sendNotification(message, callback) {
|
|||||||
|
|
||||||
adapter.log.info('Send pushover notification: ' + JSON.stringify(message));
|
adapter.log.info('Send pushover notification: ' + JSON.stringify(message));
|
||||||
|
|
||||||
|
/*
|
||||||
pushover.send(message, (err, result) => {
|
pushover.send(message, (err, result) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
adapter.log.error('Cannot send notification: ' + JSON.stringify(err));
|
adapter.log.error('Cannot send notification: ' + JSON.stringify(err));
|
||||||
@@ -136,4 +137,5 @@ function sendNotification(message, callback) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user