mirror of
https://github.com/adnanh/webhook.git
synced 2025-07-04 10:18:31 +00:00
Rename RemoteAddress to RemoteAddr.
This commit is contained in:
parent
64942c9793
commit
01111b5258
3 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue