Go back to using ap.IRI to generate inbox and outbox IRIs

This commit is contained in:
Anthony Wang 2022-06-14 21:34:37 -05:00
parent 1da4849ad7
commit f48115f5f0
No known key found for this signature in database
GPG Key ID: BC96B00AEC5F2D76
1 changed files with 2 additions and 2 deletions

View File

@ -59,8 +59,8 @@ func Person(ctx *context.APIContext) {
URL: ap.IRI(ctx.ContextUser.AvatarLink()),
}
person.Inbox, _ = ap.Inbox.AddTo(person)
person.Outbox, _ = ap.Outbox.AddTo(person)
person.Inbox = ap.IRI(link + "/inbox")
person.Outbox = ap.IRI(link + "/outbox")
person.PublicKey.ID = ap.IRI(link + "#main-key")
person.PublicKey.Owner = ap.IRI(link)