1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00
This commit is contained in:
Clemens 2024-05-06 16:01:23 +02:00
parent a485837b9c
commit 82fe1d3e42
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ import (
"net/url"
"code.gitea.io/gitea/modules/validation"
"github.com/valyala/fastjson"
)

View file

@ -16,7 +16,7 @@ import (
)
// Respond with an ActivityStreams object
func response(ctx *context.APIContext, v interface{}) {
func response(ctx *context.APIContext, v any) {
binary, err := jsonld.WithContext(
jsonld.IRI(ap.ActivityBaseURI),
jsonld.IRI(ap.SecurityContextURI),