pushover-notifications
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -78,3 +78,3 @@ var https = require('https'), | ||
if (this.onerror) { | ||
this.onerror.call(null, d) | ||
this.onerror.call(null, d.errors[0]) | ||
} else { | ||
@@ -81,0 +81,0 @@ throw new Error(d.errors[0]); |
@@ -5,3 +5,3 @@ { | ||
"description": "Pushover API for node.js", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"homepage": "http://github.com/qbit/node-pushover", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -21,2 +21,3 @@ ![Pushover](https://pushover.net/assets/pushover-header-0f47af8e08d8bef658a999a9e6584fcc.png) | ||
token: process.env['PUSHOVER_TOKEN'], | ||
// onerror: function(error) {}, | ||
// update_sounds: true // update the list of sounds every day - will | ||
@@ -23,0 +24,0 @@ // prevent app from exiting. |
6746
74