Commit b7b3d087 authored by Janos Guljas's avatar Janos Guljas

improve json encoding of peer connect response in debug api

parent 863414a1
...@@ -16,7 +16,7 @@ import ( ...@@ -16,7 +16,7 @@ import (
) )
type peerConnectResponse struct { type peerConnectResponse struct {
Address string Address string `json:"address"`
} }
func (s *server) peerConnectHandler(w http.ResponseWriter, r *http.Request) { func (s *server) peerConnectHandler(w http.ResponseWriter, r *http.Request) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment