diff options
| author | Jules Laplace <jules@okfoc.us> | 2017-02-19 04:41:51 +0100 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2017-02-19 04:41:51 +0100 |
| commit | dd2f5af97f1ceccd049528743ca0e75ed2fe71c0 (patch) | |
| tree | c499219a8648e539f74ef1a3a2f66d4bfb112a71 /lib/okpush/apn.js | |
| parent | 2e3218ddd0dd4cccf9038f1fc7b6565c7bad7595 (diff) | |
push frontend
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) |
