diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-09-23 21:58:10 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-09-23 21:58:10 +0200 |
| commit | fc8e58d8dc7edcfc7786ae6a2633adf19411eddb (patch) | |
| tree | 7f93bfc5aa66e16915c7d05ff61ed23efcfe5bbc /lib/okpush/index.js | |
| parent | baab830a2f185887d356d7e2eacdc3d5307d835c (diff) | |
hmtl
Diffstat (limited to 'lib/okpush/index.js')
| -rw-r--r-- | lib/okpush/index.js | 4 |
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)) |
