Browse Source

verify Fixed express-mysql's db test

Mike Smith 11 years ago
parent
commit
bdc8f58791
1 changed files with 3 additions and 0 deletions
  1. 3 0
      express/app.js

+ 3 - 0
express/app.js

@@ -103,6 +103,9 @@ if (cluster.isMaster) {
     }
 
     async.parallel(queryFunctions, function(err, results) {
+      if (queries == 1) {
+        worlds = worlds[0];
+      }
       res.send(worlds);
     });
   });