[Groonga-commit] groonga/express-kotoumi [master] Fix missing variable name: message => body

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Feb 8 17:22:33 JST 2013


YUKI Hiroshi	2013-02-08 17:22:33 +0900 (Fri, 08 Feb 2013)

  New Revision: 1638fdf3fc651886950f290d6977584c029d6076
  https://github.com/groonga/express-kotoumi/commit/1638fdf3fc651886950f290d6977584c029d6076

  Log:
    Fix missing variable name: message => body

  Modified files:
    lib/frontend/rest-adaptor.js

  Modified: lib/frontend/rest-adaptor.js (+2 -1)
===================================================================
--- lib/frontend/rest-adaptor.js    2013-02-08 16:55:26 +0900 (161df48)
+++ lib/frontend/rest-adaptor.js    2013-02-08 17:22:33 +0900 (65846c0)
@@ -14,7 +14,8 @@ function createHandler(params) {
     var result = definition.toBackend(commandName, request);
     var messageType = result[0];
     var body = result[1];
-    var timeout = message.timeout || null;
+    var timeout = body.timeout || null;
+
     connection.emitMessage(
       messageType,
       body,
-------------- next part --------------
HTML����������������������������...
Download 



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