mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-12-05 14:08:05 +08:00
Fix context usages (#35348)
This commit is contained in:
@@ -159,8 +159,8 @@ func (org *Organization) AvatarLink(ctx context.Context) string {
|
||||
}
|
||||
|
||||
// HTMLURL returns the organization's full link.
|
||||
func (org *Organization) HTMLURL() string {
|
||||
return org.AsUser().HTMLURL()
|
||||
func (org *Organization) HTMLURL(ctx context.Context) string {
|
||||
return org.AsUser().HTMLURL(ctx)
|
||||
}
|
||||
|
||||
// OrganisationLink returns the organization sub page link.
|
||||
|
||||
Reference in New Issue
Block a user