Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add binding back
  • Loading branch information
6543 committed Jul 1, 2021
commit 6d1b97b3b03a595b171779bf26ee4bb2b5e42b9d
2 changes: 1 addition & 1 deletion modules/structs/notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type NotificationSubject struct {
Title string `json:"title"`
URL string `json:"url"`
LatestCommentURL string `json:"latest_comment_url"`
Type NotifySubjectType `json:"type"`
Type NotifySubjectType `json:"type" binding:"In(Issue,Pull,Commit)"`
State StateType `json:"state"`
}

Expand Down