From d9f78c1f95f4c0bc88d77cda2908b2328345db40 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 29 Mar 2017 04:59:56 +0200 Subject: failure status --- lib/okpush/apn.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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) } }) }) -- cgit v1.2.3-70-g09d2