@@ -61,7 +61,7 @@ type prComment struct {
61
61
ID int `json:"id"`
62
62
Type string `json:"type"`
63
63
Links struct {
64
- Html struct {
64
+ HTML struct {
65
65
Href string `json:"href"`
66
66
} `json:"html,omitempty"`
67
67
Self struct {
@@ -76,7 +76,7 @@ type prComment struct {
76
76
ID int `json:"id"`
77
77
Type string `json:"type"`
78
78
Links struct {
79
- Html struct {
79
+ HTML struct {
80
80
Href string `json:"href"`
81
81
} `json:"html"`
82
82
Self struct {
@@ -91,7 +91,7 @@ type prComment struct {
91
91
Type string `json:"type"`
92
92
NickName string `json:"nickname"`
93
93
Links struct {
94
- Html struct {
94
+ HTML struct {
95
95
Href string `json:"href"`
96
96
} `json:"html"`
97
97
Self struct {
@@ -105,7 +105,7 @@ type prComment struct {
105
105
Content struct {
106
106
Raw string `json:"raw"`
107
107
Markup string `json:"markup"`
108
- Html string `json:"html"`
108
+ HTML string `json:"html"`
109
109
Type string `json:"type"`
110
110
} `json:"content"`
111
111
Inline struct {
@@ -127,7 +127,7 @@ func convertPRComment(from *prComment) *scm.Comment {
127
127
Login : from .User .DisplayName ,
128
128
Avatar : from .User .Links .Avatar .Href ,
129
129
},
130
- Link : from .Links .Html .Href ,
130
+ Link : from .Links .HTML .Href ,
131
131
Created : from .CreatedOn ,
132
132
Updated : from .UpdatedOn ,
133
133
}
0 commit comments