Removed authentication for GET /peers/summary endpoint

This commit is contained in:
CalDescent 2022-01-09 21:09:20 +00:00
parent 940304b4c2
commit 051052fdd2

View File

@ -352,10 +352,7 @@ public class PeersResource {
)
}
)
@SecurityRequirement(name = "apiKey")
public PeersSummary peersSummary() {
Security.checkApiCallAllowed(request);
PeersSummary peersSummary = new PeersSummary();
List<Peer> connectedPeers = Network.getInstance().getConnectedPeers().stream().collect(Collectors.toList());