diff --git a/routers/api/v1/activitypub/repository.go b/routers/api/v1/activitypub/repository.go index b0928d9a32..3250c00166 100644 --- a/routers/api/v1/activitypub/repository.go +++ b/routers/api/v1/activitypub/repository.go @@ -120,7 +120,8 @@ func RepositoryInbox(ctx *context.APIContext) { } // parse response - person, err := forgefed.ParsePersonJson(body) + person := ap.Person{} + err = person.UnmarshalJSON(body) if err != nil { panic(err) }