diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-09-23 22:07:03 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-09-23 22:07:03 +0200 |
| commit | 95d5e2648df01b6e513fb098fc0014ebed03a0ca (patch) | |
| tree | bfb2f6935876aff22eaabf8fff3ba400a512e666 /lib | |
| parent | fc8e58d8dc7edcfc7786ae6a2633adf19411eddb (diff) | |
point at hub
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) }) |
