Don't use redundant implementation of person

This commit is contained in:
erik 2023-11-30 16:01:20 +01:00 committed by Michael Jerger
parent b00b5fa7af
commit 22ba03ae4d

View file

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