1
0
Fork 0
forked from forgejo/forgejo

Add HTML URL to API Issues (#9654)

* Add HTML URL to API Issues

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Swagger

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
John Olheiser 2020-01-08 17:10:34 -06:00 committed by zeripath
parent 14a9687444
commit 5b2d9333f1
7 changed files with 10 additions and 4 deletions

View file

@ -142,7 +142,7 @@ func getDingtalkIssuesPayload(p *api.IssuePayload) (*DingtalkPayload, error) {
Title: issueTitle,
HideAvatar: "0",
SingleTitle: "view issue",
SingleURL: p.Issue.URL,
SingleURL: p.Issue.HTMLURL,
},
}, nil
}