Compare commits
No commits in common. "master" and "v1.0.0" have entirely different histories.
2 changed files with 1 additions and 5 deletions
2
go.mod
2
go.mod
|
|
@ -1,3 +1,3 @@
|
|||
module git.janksystems.org/jeremy/webhook
|
||||
module git.baxters.nz/jeremy/webhook
|
||||
|
||||
go 1.25.7
|
||||
|
|
|
|||
|
|
@ -48,10 +48,6 @@ func Execute(suffix, username, title, text string) (err error) {
|
|||
resp, err := http.Post(baseURL + suffix, "application/json",
|
||||
strings.NewReader(string(body)))
|
||||
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
if resp.StatusCode < 200 || resp.StatusCode > 299 {
|
||||
err = errors.New(resp.Status)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue