From 64744fd31865f321d5e5393e34653cac05792769 Mon Sep 17 00:00:00 2001 From: Carlos Romero Brox Date: Thu, 23 May 2013 16:18:35 +0200 Subject: [PATCH] Add secure queue creation to 'orgs' routes --- lib/agent.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/agent.js b/lib/agent.js index c9b7fe1..e07bc43 100644 --- a/lib/agent.js +++ b/lib/agent.js @@ -226,6 +226,7 @@ var setRoutes = function setRoutes(app) { app.post('/org/:id_org/queue/:id/pop', prefix, logic.checkPerm, logic.popQueue); app.get('/org/:id_org/queue/:id/peek', prefix, logic.checkPerm, logic.peekQueue); app.post('/org/:id_org/queue/:id/subscribe', prefix, logic.checkPerm, logic.httpSubscribeQueue); + app.post('/org/:id_org/queue', prefix, logic.postQueue); } else {