Merge pull request #8 from jackspirou/master

Changing Urls to URLs
This commit is contained in:
Jack Spirou 2016-01-08 14:36:05 -06:00
commit 4bcf9e8e8d
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ func main() {
// and content_type values will be applied to
// every webhook request.
for i, rawurl := range vargs.Urls {
for i, rawurl := range vargs.URLs {
uri, err := url.Parse(rawurl)
if err != nil {

View File

@ -2,7 +2,7 @@ package main
// Params represents the valid paramenter options for the webhook plugin.
type Params struct {
Urls []string `json:"urls"`
URLs []string `json:"urls"`
Debug bool `json:"debug"`
Auth Auth `json:"auth"`
Headers map[string]string `json:"header"`