We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ad2a5f commit 6d1b97bCopy full SHA for 6d1b97b
modules/structs/notifications.go
@@ -24,7 +24,7 @@ type NotificationSubject struct {
24
Title string `json:"title"`
25
URL string `json:"url"`
26
LatestCommentURL string `json:"latest_comment_url"`
27
- Type NotifySubjectType `json:"type"`
+ Type NotifySubjectType `json:"type" binding:"In(Issue,Pull,Commit)"`
28
State StateType `json:"state"`
29
}
30
0 commit comments