diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-01-28 19:18:27 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-01-28 20:21:49 -0500 |
| commit | 5adac681bdb43b8b709795fa501689fb9ae8a4e1 (patch) | |
| tree | 635ad1f56013840f60dba46e4ba8fd0261353f3b /server/lib/webhook | |
| parent | e3ff5315f7ea7421431658077253c4d71f0f5731 (diff) | |
many methods
Diffstat (limited to 'server/lib/webhook')
| -rw-r--r-- | server/lib/webhook/webhook.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/webhook/webhook.js b/server/lib/webhook/webhook.js index 4f23d0b..a871a3a 100644 --- a/server/lib/webhook/webhook.js +++ b/server/lib/webhook/webhook.js @@ -149,6 +149,6 @@ var subscribe = module.exports = { route: function(app){ app.post('/subscribe/webhook', subscribe.handle); - app.get('/subscribe/list/:id', subscribe.list); + app.get('/subscribe/list/:id', subscribe.middleware.ensureSubscription, subscribe.list); }, } |
