mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-24 06:12:28 +00:00
fix
This commit is contained in:
parent
f1c4415fc8
commit
ea7fd4cb87
3 changed files with 9 additions and 1 deletions
|
@ -2,6 +2,7 @@ package hooks
|
|||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"net/url"
|
||||
|
||||
|
@ -41,6 +42,8 @@ func (h *Hook) ParseFormArgs(form url.Values) []string {
|
|||
}
|
||||
}
|
||||
|
||||
fmt.Printf("parse form args %+v\n", args)
|
||||
|
||||
return args
|
||||
}
|
||||
|
||||
|
@ -58,6 +61,8 @@ func (h *Hook) ParseJSONArgs(payload interface{}) []string {
|
|||
}
|
||||
}
|
||||
|
||||
fmt.Printf("parse json args %+v\n", args)
|
||||
|
||||
return args
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue