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