diff options
| author | stone <jules+okfprojz@okfoc.us> | 2017-09-25 13:09:43 -0400 |
|---|---|---|
| committer | stone <jules+okfprojz@okfoc.us> | 2017-09-25 13:09:43 -0400 |
| commit | 38d7bfa878b705ba2663ea3c8381201d6a978b77 (patch) | |
| tree | 3576a1c2df18263a128c8b7ff0b063e6ad3b34f9 | |
| parent | 252a7e4cfdf4d7fccc1ce2a50cfa7ab2f33903fc (diff) | |
| parent | 72e7efe17d1a32c190218de89124aa2d68d82063 (diff) | |
Merge branch 'cms' of ghghgh.us:stone-island into cms
| -rw-r--r-- | lib/okpush/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/okpush/index.js b/lib/okpush/index.js index c202c681..43803965 100644 --- a/lib/okpush/index.js +++ b/lib/okpush/index.js @@ -114,7 +114,7 @@ function OKPush (options) { var opt = options.config.notifications[channel] var note = apn.buildPayload(opt, options.config.bundleId) apn.push('hub', note) - db.addNotification(channel, function(){ + db.addNotification(channel, "", function(){ res.sendStatus(200) }) }) @@ -131,7 +131,7 @@ function OKPush (options) { } var note = apn.buildPayload(opt, options.config.bundleId) apn.push('hub', note) - db.addNotification('custom', function(){ + db.addNotification('custom', message, function(){ res.sendStatus(200) }) }) |
