mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 08:39:17 +08:00
Update webhook.go
misplaced closing bracket...
This commit is contained in:
+1
-1
@@ -126,9 +126,9 @@ func hookHandler(req *http.Request, params martini.Params) string {
|
||||
if len(req.Header.Get("X-Hub-Signature")) > 5 {
|
||||
payloadSignature = req.Header.Get("X-Hub-Signature")[5:]
|
||||
}
|
||||
}
|
||||
|
||||
go jsonHandler(params["id"], body, payloadSignature, payloadJSON)
|
||||
}
|
||||
} else {
|
||||
req.ParseForm()
|
||||
go formHandler(params["id"], req.Form)
|
||||
|
||||
Reference in New Issue
Block a user