summaryrefslogtreecommitdiff
path: root/lib/okpush
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-12-09 11:08:40 +0100
committerJules Laplace <julescarbon@gmail.com>2019-12-09 11:08:40 +0100
commitc88c44f8669f23a78dc79aa78bd650a573565dc9 (patch)
treea95924d02b277b9c4c394ef3221a8b40981554fc /lib/okpush
parent988b27bff2f78340c4145b6c62ae44b88223ae83 (diff)
list ios tokens
Diffstat (limited to 'lib/okpush')
-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)
})
})