summaryrefslogtreecommitdiff
path: root/lib/okpush/index.js
diff options
context:
space:
mode:
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)
})
})