style: fix lint (CI)

This commit is contained in:
usbharu 2024-09-14 05:04:08 +00:00 committed by github-actions[bot]
parent 94d0bedb36
commit 8dd55744ec
1 changed files with 5 additions and 3 deletions

View File

@ -89,9 +89,11 @@ class ExposedRelationshipRepository(override val domainEventPublisher: DomainEve
following: Boolean following: Boolean
): List<Relationship> = query { ): List<Relationship> = query {
Relationships.selectAll().where { Relationships.selectAll().where {
Relationships.actorId eq actorId.id and (Relationships.targetActorId inList targetIds.map { Relationships.actorId eq actorId.id and (
Relationships.targetActorId inList targetIds.map {
it.id it.id
}) and (Relationships.following eq following) }
) and (Relationships.following eq following)
}.map { it.toRelationships() } }.map { it.toRelationships() }
} }