forked from kevadesu/forgejo
Fix CI errors by adding @context to Person() and making sure types match
This commit is contained in:
parent
46cab80ef4
commit
86a3221563
2 changed files with 5 additions and 3 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue