NotificationSubject: add HTMLURL fields (#548)
upstream change: https://github.com/go-gitea/gitea/pull/17178 Co-authored-by: Norwin <git@nroo.de> Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/548 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io>
This commit is contained in:
parent
bf0e0883a8
commit
0fb32ac11f
1 changed files with 7 additions and 5 deletions
|
@ -31,7 +31,9 @@ type NotificationThread struct {
|
||||||
type NotificationSubject struct {
|
type NotificationSubject struct {
|
||||||
Title string `json:"title"`
|
Title string `json:"title"`
|
||||||
URL string `json:"url"`
|
URL string `json:"url"`
|
||||||
|
HTMLURL string `json:"html_url"`
|
||||||
LatestCommentURL string `json:"latest_comment_url"`
|
LatestCommentURL string `json:"latest_comment_url"`
|
||||||
|
LatestCommentHTMLURL string `json:"latest_comment_html_url"`
|
||||||
Type NotifySubjectType `json:"type"`
|
Type NotifySubjectType `json:"type"`
|
||||||
State NotifySubjectState `json:"state"`
|
State NotifySubjectState `json:"state"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue