diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/okpush/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/okpush/index.js b/lib/okpush/index.js index 49fc5363..b9c0bb91 100644 --- a/lib/okpush/index.js +++ b/lib/okpush/index.js @@ -113,7 +113,7 @@ function OKPush (options) { var channel = req.body.channel var opt = options.config.notifications[channel] var note = apn.buildPayload(opt, options.config.bundleId) - apn.push(channel, note) + apn.push('hub', note) db.addNotification(channel, function(){ res.sendStatus(200) }) |
