Navigation Menu

Skip to content

Commit

Permalink
Use query parameters as message body for droonga messages
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 29, 2015
1 parent 152c392 commit e41cbf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adapter/api/droonga.js
Expand Up @@ -13,7 +13,7 @@ module.exports = {
path: /^\/droonga\/(.+)/,
onRequest: function(request, connection) {
var messageType = pathToMessageType(request.params[0]);
var body = {};
var body = request.query;
var options = {
timeout: body.timeout
};
Expand Down

0 comments on commit e41cbf8

Please sign in to comment.