Skip to content

Commit

Permalink
feat: add event_alert.web_url
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtARTs36 committed May 23, 2024
1 parent e83bb85 commit 5df18d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ notify:
```
{{ hook.Event.Title }}```
{{ hook.Event.IssueURL }}
{{ hook.Event.WebURL }}
to: my_team
```
Expand Down
1 change: 1 addition & 0 deletions internal/sentry/event_alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ type EventAlert struct {
Project int `json:"project"`
URL string `json:"url"`
Datetime Time `json:"datetime"`
WebURL string `json:"web_url"`
} `json:"event"`
Extracted struct {
ProjectName string `json:"-"`
Expand Down
2 changes: 1 addition & 1 deletion sentry-notifier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ notify:
```
{{ hook.Event.Title }}```
{{ hook.Event.IssueURL }}
{{ hook.Event.WebURL }}
to: my_team

0 comments on commit 5df18d0

Please sign in to comment.