mirror of https://github.com/usbharu/Hideout.git
feat: ユーザーページにフォロワーの情報を表示するように
This commit is contained in:
parent
48d49fe18d
commit
d5232c6a7f
|
@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue