Fix CI errors by adding @context to Person() and making sure types match

This commit is contained in:
Anthony Wang 2022-06-10 11:04:07 -05:00
parent 46cab80ef4
commit 86a3221563
No known key found for this signature in database
GPG key ID: BC96B00AEC5F2D76
2 changed files with 5 additions and 3 deletions

View file

@ -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)
}