Permalink
Browse files

Request body signing patch

  • Loading branch information...
1 parent 5832408 commit c031db99ee45c5871518f80b18025bdfe7baf20a @tehsenaus committed Mar 30, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 server.js
View
@@ -87,8 +87,9 @@ function readHandler (r, fn) {
}
}
function modificationHandler (r, fn) {
- var _handler = r.createAPIMiddleware()
+ var _handler = connect()
.use(connect.bodyParser())
+ .use(r.createAPIMiddleware())
.use(handler(function (req,res) {
var me = this, args = [].slice.call(arguments);
return promise.when(r.createContextFromRequest(req), function (context) {

0 comments on commit c031db9

Please sign in to comment.