feat: ユーザーページにフォロワーの情報を表示するように

This commit is contained in:
usbharu 2023-04-21 20:10:27 +09:00
parent 7eaa5cb51d
commit 458d303ae8
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 3 additions and 2 deletions

View File

@ -24,7 +24,8 @@ fun Routing.usersAP(activityPubUserService: ActivityPubUserService,userService:U
)
}
get {
call.respondText(userService.findByName(call.parameters["name"]!!).toString())
val userEntity = userService.findByName(call.parameters["name"]!!)
call.respondText(userEntity.toString() + "\n" + userService.findFollowersById(userEntity.id))
}
}
}