Skip to content

Commit

Permalink
Add secure queue creation to 'orgs' routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Romero Brox committed May 23, 2013
1 parent df03b19 commit 64744fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 64744fd

Please sign in to comment.