Update Struct NotificationSubject #424

Merged
lunny merged 1 commits from 6543/go-sdk:update-struct-NotificationSubject into master 2020-09-21 05:00:33 +00:00

View File

@ -26,7 +26,8 @@ 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)"`
Type string `json:"type"`
State StateType `json:"state"`
}
// NotifyStatus notification status type