mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-22 21:32:32 +00:00
Update webhook.go
misplaced closing bracket...
This commit is contained in:
parent
d285c08f9f
commit
f47ba2ad97
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue