summaryrefslogtreecommitdiff
path: root/lib/okpush/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-09-23 21:58:10 +0200
committerJules Laplace <julescarbon@gmail.com>2017-09-23 21:58:10 +0200
commitfc8e58d8dc7edcfc7786ae6a2633adf19411eddb (patch)
tree7f93bfc5aa66e16915c7d05ff61ed23efcfe5bbc /lib/okpush/index.js
parentbaab830a2f185887d356d7e2eacdc3d5307d835c (diff)
hmtl
Diffstat (limited to 'lib/okpush/index.js')
-rw-r--r--lib/okpush/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/okpush/index.js b/lib/okpush/index.js
index 08ab15ae..49fc5363 100644
--- a/lib/okpush/index.js
+++ b/lib/okpush/index.js
@@ -94,6 +94,10 @@ function OKPush (options) {
})
router.get('/new', function (req, res) {
+ var data = {
+ meta: meta,
+ notifications: config.notifications,
+ }
templates['new'].render(data).then(function(rendered) {
res.send(rendered);
}).fail(error(req, res, 500))