mirror of https://github.com/velour/catbase.git
github: fix commenter fields
This commit is contained in:
parent
7b98da6286
commit
f57487868a
|
@ -103,7 +103,7 @@ func (p *GitPlugin) githubEvent(w http.ResponseWriter, r *http.Request) {
|
|||
owner = cmt.Repository.Owner.Login
|
||||
msg += fmt.Sprintf("%s %s %s on <%s|%s #%d>",
|
||||
icon,
|
||||
cmt.Issue.User.Login,
|
||||
cmt.Sender.Login,
|
||||
action,
|
||||
cmt.Issue.HTMLURL,
|
||||
cmt.Issue.Title,
|
||||
|
@ -130,7 +130,7 @@ func (p *GitPlugin) githubEvent(w http.ResponseWriter, r *http.Request) {
|
|||
owner = issueEvent.Repository.Owner.Login
|
||||
msg += fmt.Sprintf("%s %s %s issue <%s|%s #%d>",
|
||||
icon,
|
||||
issueEvent.Issue.User.Login,
|
||||
issueEvent.Sender.Login,
|
||||
action,
|
||||
issueEvent.Issue.HTMLURL,
|
||||
issueEvent.Issue.Title,
|
||||
|
|
Loading…
Reference in New Issue