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 {