From a0fe4ffbd54186230252c31e5e7cd63736501831 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Fri, 21 Apr 2023 20:25:50 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=E3=83=A6=E3=83=BC=E3=82=B6=E3=83=BC?= =?UTF-8?q?=E3=82=92url=E3=81=A7=E4=B8=80=E6=8B=AC=E5=8F=96=E5=BE=97?= =?UTF-8?q?=E3=82=92=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/dev/usbharu/hideout/repository/UserRepository.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/dev/usbharu/hideout/repository/UserRepository.kt b/src/main/kotlin/dev/usbharu/hideout/repository/UserRepository.kt index f51240f0..dfaf32aa 100644 --- a/src/main/kotlin/dev/usbharu/hideout/repository/UserRepository.kt +++ b/src/main/kotlin/dev/usbharu/hideout/repository/UserRepository.kt @@ -112,7 +112,9 @@ class UserRepository(private val database: Database) : IUserRepository { } override suspend fun findByUrls(urls: List): List { - TODO("Not yet implemented") + return query { + Users.select { Users.url inList urls }.map { it.toUserEntity() } + } } override suspend fun findFollowersById(id: Long): List {