summaryrefslogtreecommitdiff
path: root/lib/okpush/apn.js
diff options
context:
space:
mode:
authorstone <jules+okfprojz@okfoc.us>2017-02-18 20:47:27 -0500
committerstone <jules+okfprojz@okfoc.us>2017-02-18 20:47:27 -0500
commit19167c7d38e1b92928c7916ed1fb0e18071975ea (patch)
tree80132e865a9833d5197bbefd9f3518b763938766 /lib/okpush/apn.js
parent794bc930903a836329aff47481d109df10f81069 (diff)
parent2e3218ddd0dd4cccf9038f1fc7b6565c7bad7595 (diff)
Merge branch 'cms' of ghghgh.us:stone-island into cms
Diffstat (limited to 'lib/okpush/apn.js')
-rw-r--r--lib/okpush/apn.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/okpush/apn.js b/lib/okpush/apn.js
index febd03bb..7506e08b 100644
--- a/lib/okpush/apn.js
+++ b/lib/okpush/apn.js
@@ -12,7 +12,7 @@ function init (config) {
}
function push (note) {
- db.getAllDevices(function(err, tokens){
+ db.getAllTokens(note, function(err, tokens){
if (err) {
console.error("Error fetching devices:", err)
return