mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-09 18:35:54 +00:00
Fix context usages (#35348)
This commit is contained in:
@@ -52,7 +52,7 @@ func Person(ctx *context.APIContext) {
|
||||
return
|
||||
}
|
||||
|
||||
person.URL = ap.IRI(ctx.ContextUser.HTMLURL())
|
||||
person.URL = ap.IRI(ctx.ContextUser.HTMLURL(ctx))
|
||||
|
||||
person.Icon = ap.Image{
|
||||
Type: ap.ImageType,
|
||||
|
Reference in New Issue
Block a user