From 8dd55744ec7f512f1adf6e197ac378801108e846 Mon Sep 17 00:00:00 2001 From: usbharu Date: Sat, 14 Sep 2024 05:04:08 +0000 Subject: [PATCH] style: fix lint (CI) --- .../exposedrepository/ExposedRelationshipRepository.kt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/ExposedRelationshipRepository.kt b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/ExposedRelationshipRepository.kt index 3b0b63b0..b4827a4f 100644 --- a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/ExposedRelationshipRepository.kt +++ b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/ExposedRelationshipRepository.kt @@ -89,9 +89,11 @@ class ExposedRelationshipRepository(override val domainEventPublisher: DomainEve following: Boolean ): List = query { Relationships.selectAll().where { - Relationships.actorId eq actorId.id and (Relationships.targetActorId inList targetIds.map { - it.id - }) and (Relationships.following eq following) + Relationships.actorId eq actorId.id and ( + Relationships.targetActorId inList targetIds.map { + it.id + } + ) and (Relationships.following eq following) }.map { it.toRelationships() } }