May not need to stringify

This commit is contained in:
Michelle Bu 2014-03-09 14:29:13 -07:00
parent 8c1eb5d978
commit 983c86b639

View File

@ -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);
}