make fmt
This commit is contained in:
parent
a485837b9c
commit
82fe1d3e42
|
@ -7,6 +7,7 @@ import (
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/validation"
|
"code.gitea.io/gitea/modules/validation"
|
||||||
|
|
||||||
"github.com/valyala/fastjson"
|
"github.com/valyala/fastjson"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Respond with an ActivityStreams object
|
// Respond with an ActivityStreams object
|
||||||
func response(ctx *context.APIContext, v interface{}) {
|
func response(ctx *context.APIContext, v any) {
|
||||||
binary, err := jsonld.WithContext(
|
binary, err := jsonld.WithContext(
|
||||||
jsonld.IRI(ap.ActivityBaseURI),
|
jsonld.IRI(ap.ActivityBaseURI),
|
||||||
jsonld.IRI(ap.SecurityContextURI),
|
jsonld.IRI(ap.SecurityContextURI),
|
||||||
|
|
Loading…
Reference in New Issue