May not need to stringify
This commit is contained in:
parent
8c1eb5d978
commit
983c86b639
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user