summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorstone <jules+okfprojz@okfoc.us>2017-03-28 23:00:05 -0400
committerstone <jules+okfprojz@okfoc.us>2017-03-28 23:00:05 -0400
commitf0bad83e844ac97ad97ae28500f58f727052d850 (patch)
tree9575e2f2be6ba0db2f5c658469ad2e0490c8143b /lib
parent0bc1eeeac48314debfb2ebe9093782c888114c10 (diff)
parentd9f78c1f95f4c0bc88d77cda2908b2328345db40 (diff)
Merge branch 'cms' of ghghgh.us:stone-island into cms
Diffstat (limited to 'lib')
-rw-r--r--lib/okpush/apn.js3
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)
}
})
})