Rename RemoteAddress to RemoteAddr.

This commit is contained in:
Adnan Hajdarevic 2019-12-22 22:37:44 +01:00
parent 64942c9793
commit 01111b5258
3 changed files with 3 additions and 3 deletions

View file

@ -256,7 +256,7 @@ func hookHandler(w http.ResponseWriter, r *http.Request) {
HookID: matchedHook.ID,
Method: r.Method,
Base64EncodedBody: base64.StdEncoding.EncodeToString(body),
RemoteAddress: r.RemoteAddr,
RemoteAddr: r.RemoteAddr,
URI: r.RequestURI,
Host: r.Host,
Headers: r.Header,