mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 17:19:17 +08:00
Rename RemoteAddress to RemoteAddr.
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user