[Groonga-commit] groonga/express-kotoumi [master] Fix wrong signature of socket.io req/res type callback

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Feb 8 18:59:46 JST 2013


YUKI Hiroshi	2013-02-08 18:59:46 +0900 (Fri, 08 Feb 2013)

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

  Log:
    Fix wrong signature of socket.io req/res type callback

  Modified files:
    lib/frontend/socket.io-adaptor.js

  Modified: lib/frontend/socket.io-adaptor.js (+1 -1)
===================================================================
--- lib/frontend/socket.io-adaptor.js    2013-02-08 18:59:21 +0900 (505f56a)
+++ lib/frontend/socket.io-adaptor.js    2013-02-08 18:59:46 +0900 (63166be)
@@ -45,7 +45,7 @@ exports.register = function(application, server, params) {
       var callback = null;
       var options = {};
       if (model.RequestResponse.isInstance(commandDefinition)) {
-        callback = function(envelope) {
+        callback = function(error, envelope) {
           var event = envelope.type;
           var data = envelope.body;
 
-------------- next part --------------
HTML����������������������������...
Download 



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