Update main.js
This commit is contained in:
@@ -113,9 +113,9 @@ function sendNotification(message, callback) {
|
|||||||
if (!message) message = {};
|
if (!message) message = {};
|
||||||
|
|
||||||
if (!pushover) {
|
if (!pushover) {
|
||||||
if (adapter.config.user && adapter.config.token) {
|
if (adapter.config.user_name && adapter.config.token) {
|
||||||
pushover = new Pushover({
|
pushover = new Pushover({
|
||||||
user: adapter.config.user,
|
user: adapter.config.user_name,
|
||||||
token: adapter.config.token
|
token: adapter.config.token
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user