diff options
Diffstat (limited to 'modules/structs/notifications.go')
-rw-r--r-- | modules/structs/notifications.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/structs/notifications.go b/modules/structs/notifications.go index b6c9774a97..8daa6de168 100644 --- a/modules/structs/notifications.go +++ b/modules/structs/notifications.go @@ -21,10 +21,11 @@ type NotificationThread struct { // NotificationSubject contains the notification subject (Issue/Pull/Commit) type NotificationSubject struct { - Title string `json:"title"` - URL string `json:"url"` - LatestCommentURL string `json:"latest_comment_url"` - Type string `json:"type" binding:"In(Issue,Pull,Commit)"` + Title string `json:"title"` + URL string `json:"url"` + LatestCommentURL string `json:"latest_comment_url"` + Type string `json:"type" binding:"In(Issue,Pull,Commit)"` + State StateType `json:"state"` } // NotificationCount number of unread notifications |