diff options
| author | Jules Laplace <jules@okfoc.us> | 2017-03-29 04:59:56 +0200 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2017-03-29 04:59:56 +0200 |
| commit | d9f78c1f95f4c0bc88d77cda2908b2328345db40 (patch) | |
| tree | 96976525e81db1c99bddd272ce3118689cd23703 /lib | |
| parent | ee9cea7b654dc2393cb3c37d951780012adb4d61 (diff) | |
failure status
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/okpush/apn.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/okpush/apn.js b/lib/okpush/apn.js index 315effd3..c1430012 100644 --- a/lib/okpush/apn.js +++ b/lib/okpush/apn.js @@ -31,7 +31,8 @@ function push (channel, note) { // `failure.status` is the HTTP status code // `failure.response` is the JSON payload // notificationFailed(token, failure.status, failure.response); - db.removeDevice(token) + console.log(failure) + // db.removeToken(token) } }) }) |
