summaryrefslogtreecommitdiff
path: root/lib/okpush/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-09-25 19:07:54 +0200
committerJules Laplace <julescarbon@gmail.com>2017-09-25 19:07:54 +0200
commitbdba73ab985fdd6112f36dff02cd0eff937759b1 (patch)
treea4af98001c26e53ff932e5650459059fb3b0583c /lib/okpush/index.js
parent709af63b290214b79271d96518e2ed51468e09f3 (diff)
test
Diffstat (limited to 'lib/okpush/index.js')
-rw-r--r--lib/okpush/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/okpush/index.js b/lib/okpush/index.js
index a0211bed..c202c681 100644
--- a/lib/okpush/index.js
+++ b/lib/okpush/index.js
@@ -131,7 +131,7 @@ function OKPush (options) {
}
var note = apn.buildPayload(opt, options.config.bundleId)
apn.push('hub', note)
- db.addNotification(channel, function(){
+ db.addNotification('custom', function(){
res.sendStatus(200)
})
})