Fix following in other version of article

This commit is contained in:
2020-03-22 03:44:26 +01:00
parent 589b6f5245
commit 75af31ab73
5 changed files with 45 additions and 24 deletions

View File

@@ -55,13 +55,14 @@ sealed class Follow<IN : TargetRef, OUT : TargetRef>(override var requester: Req
open fun findFollow(
citizen: CitizenI,
target: UuidEntity
target: TargetRef
): FollowEntity<OUT>? =
requester
.getFunction("find_follow")
.selectOne(
"citizen_id" to citizen.id,
"target_id" to target.id
"target_id" to target.id,
"target_reference" to target.reference
)
fun findFollowsByTarget(