diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/okpush/db.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/okpush/db.js b/lib/okpush/db.js index 563df18e..598800f3 100644 --- a/lib/okpush/db.js +++ b/lib/okpush/db.js @@ -115,6 +115,7 @@ function addNotification (channel, cb) { date: now, }).save() } + function getNotifications (cb) { Notification.find(function (err, items) { if (err) return cb(err, null) |
