diff options
| author | stone <jules+okfprojz@okfoc.us> | 2017-02-18 20:47:27 -0500 |
|---|---|---|
| committer | stone <jules+okfprojz@okfoc.us> | 2017-02-18 20:47:27 -0500 |
| commit | 19167c7d38e1b92928c7916ed1fb0e18071975ea (patch) | |
| tree | 80132e865a9833d5197bbefd9f3518b763938766 /lib/okpush/db.js | |
| parent | 794bc930903a836329aff47481d109df10f81069 (diff) | |
| parent | 2e3218ddd0dd4cccf9038f1fc7b6565c7bad7595 (diff) | |
Merge branch 'cms' of ghghgh.us:stone-island into cms
Diffstat (limited to 'lib/okpush/db.js')
| -rw-r--r-- | lib/okpush/db.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/okpush/db.js b/lib/okpush/db.js index f64acf69..563df18e 100644 --- a/lib/okpush/db.js +++ b/lib/okpush/db.js @@ -69,7 +69,7 @@ function getAllTokens (channel, cb) { PushToken.find({ channel: channel }, function (err, items) { if (err) return cb(err, null) var items = _.map(items, function (item) { - return _.pick(item, ['type', 'token']) + return _.pick(item, ['platform', 'token']) }) return cb(null, items) }) |
