This commit is contained in:
JakobDev 2024-12-18 20:26:39 +01:00
parent 7685a1e98e
commit 25bfd2983e
No known key found for this signature in database
GPG key ID: 39DEF62C3ED6DC4C
7 changed files with 35 additions and 33 deletions

View file

@ -416,20 +416,6 @@ func (issue *Issue) SummaryCardURL() string {
return fmt.Sprintf("%s/summary-card", issue.HTMLURL())
}
func (issue *Issue) SummaryCardSize() (int, int) {
return 1200, 600
}
func (issue *Issue) SummaryCardWidth() int {
width, _ := issue.SummaryCardSize()
return width
}
func (issue *Issue) SummaryCardHeight() int {
_, height := issue.SummaryCardSize()
return height
}
// Link returns the issue's relative URL.
func (issue *Issue) Link() string {
var path string