Skip to content

Commit

Permalink
Correct webhook payload field names
Browse files Browse the repository at this point in the history
  • Loading branch information
charlieegan3 committed Sep 28, 2022
1 parent d50226c commit 7e09f12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/webhook/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
func Send(endpoint, title, body, linkURL string) error {
data := []map[string]string{
{
"Title": title,
"Body": body,
"URL": linkURL,
"title": title,
"body": body,
"url": linkURL,
},
}

Expand Down

0 comments on commit 7e09f12

Please sign in to comment.