diff options
| author | stone <jules+okfprojz@okfoc.us> | 2017-02-18 22:42:00 -0500 |
|---|---|---|
| committer | stone <jules+okfprojz@okfoc.us> | 2017-02-18 22:42:00 -0500 |
| commit | 028e52fac9df2440a839e53a6b8bb7fdbc6f0ecd (patch) | |
| tree | c499219a8648e539f74ef1a3a2f66d4bfb112a71 /lib/okpush/apn.js | |
| parent | 19167c7d38e1b92928c7916ed1fb0e18071975ea (diff) | |
| parent | dd2f5af97f1ceccd049528743ca0e75ed2fe71c0 (diff) | |
Merge branch 'cms' of ghghgh.us:stone-island into cms
Diffstat (limited to 'lib/okpush/apn.js')
| -rw-r--r-- | lib/okpush/apn.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/okpush/apn.js b/lib/okpush/apn.js index 7506e08b..75322fae 100644 --- a/lib/okpush/apn.js +++ b/lib/okpush/apn.js @@ -11,7 +11,7 @@ function init (config) { apnProvider = new apn.Provider(config.apn.connection) } -function push (note) { +function push (channel, note) { db.getAllTokens(note, function(err, tokens){ if (err) { console.error("Error fetching devices:", err) |
