mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-16 01:43:24 +09:00
Fix CI errors by adding @context to Person() and making sure types match
This commit is contained in:
@@ -75,6 +75,8 @@ func Person(ctx *context.APIContext) {
|
||||
ctx.Error(http.StatusInternalServerError, "Unmarshall", err)
|
||||
}
|
||||
|
||||
jsonmap["@context"] = "https://www.w3.org/ns/activitystreams"
|
||||
|
||||
ctx.JSON(http.StatusOK, jsonmap)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user