mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 22:20:35 +00:00
Don't use redundant implementation of person
This commit is contained in:
parent
b00b5fa7af
commit
22ba03ae4d
|
@ -120,7 +120,8 @@ func RepositoryInbox(ctx *context.APIContext) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// parse response
|
// parse response
|
||||||
person, err := forgefed.ParsePersonJson(body)
|
person := ap.Person{}
|
||||||
|
err = person.UnmarshalJSON(body)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue