summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/okpush/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/okpush/index.js b/lib/okpush/index.js
index 9835885b..a92ef97f 100644
--- a/lib/okpush/index.js
+++ b/lib/okpush/index.js
@@ -104,7 +104,7 @@ function OKPush (options) {
})
router.get('/list', function(req, res){
- db.getAllTokens(req.query.channel || 'hub', function(err, hubz){
+ db.getAllIOSTokens(req.query.channel || 'hub', function(err, hubz){
res.json(hubz)
})
})