Browse Source

May not need to stringify

Michelle Bu 11 years ago
parent
commit
983c86b639
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/server.js

+ 1 - 1
lib/server.js

@@ -228,7 +228,7 @@ PeerServer.prototype._initializeHTTP = function() {
     if (self._clients[key]) {
       self._checkAllowsDiscovery(key, function(isAllowed) {
         if (isAllowed) {
-          res.send(JSON.stringify(Object.keys(self._clients[key])));
+          res.send(Object.keys(self._clients[key]));
         } else {
           res.send(401);
         }