fix: keyidを修正2

This commit is contained in:
usbharu 2023-03-31 13:04:51 +09:00
parent aa50e1075e
commit 56b75b9655
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class ActivityPubUserService(
val person = webFingerService.fetchUserModel(actor) ?: throw IllegalArgumentException("actor is not found") val person = webFingerService.fetchUserModel(actor) ?: throw IllegalArgumentException("actor is not found")
val inboxUrl = person.inbox ?: throw IllegalArgumentException("inbox is not found") val inboxUrl = person.inbox ?: throw IllegalArgumentException("inbox is not found")
httpClient.postAp( httpClient.postAp(
inboxUrl, person.preferredUsername!!, Accept( inboxUrl, follow.`object`!!, Accept(
name = "Follow", name = "Follow",
`object` = follow, `object` = follow,
actor = follow.`object`.orEmpty() actor = follow.`object`.orEmpty()