diff options
| author | Jules Laplace <jules@okfoc.us> | 2017-02-19 04:53:47 +0100 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2017-02-19 04:53:47 +0100 |
| commit | 6e5e218831aa5be1c647ceae2693c2ece31b8b41 (patch) | |
| tree | ded7e11da5cd8a5975acb6a00d83ca3a5ea5dd13 /lib | |
| parent | dd2f5af97f1ceccd049528743ca0e75ed2fe71c0 (diff) | |
newline
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) |
