[Groonga-commit] droonga/express-droonga at e41cbf8 [master] Use query parameters as message body for droonga messages

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 29 22:38:40 JST 2015


YUKI Hiroshi	2015-04-29 22:38:40 +0900 (Wed, 29 Apr 2015)

  New Revision: e41cbf8e8ddd6174a7f4749a8d9b00919d80dabc
  https://github.com/droonga/express-droonga/commit/e41cbf8e8ddd6174a7f4749a8d9b00919d80dabc

  Message:
    Use query parameters as message body for droonga messages

  Modified files:
    lib/adapter/api/droonga.js

  Modified: lib/adapter/api/droonga.js (+1 -1)
===================================================================
--- lib/adapter/api/droonga.js    2015-04-29 15:52:54 +0900 (c9c5194)
+++ lib/adapter/api/droonga.js    2015-04-29 22:38:40 +0900 (18f543c)
@@ -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
       };
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index