Update webhook.go
misplaced closing bracket...
This commit is contained in:
parent
d285c08f9f
commit
f47ba2ad97
@ -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)
|
||||
}
|
||||
|
||||
go jsonHandler(params["id"], body, payloadSignature, payloadJSON)
|
||||
} else {
|
||||
req.ParseForm()
|
||||
go formHandler(params["id"], req.Form)
|
||||
|
Loading…
Reference in New Issue
Block a user