From 95d5e2648df01b6e513fb098fc0014ebed03a0ca Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 23 Sep 2017 22:07:03 +0200 Subject: point at hub --- lib/okpush/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) }) -- cgit v1.2.3-70-g09d2