mirror of https://github.com/usbharu/Hideout.git
feat: 実装し忘れていた部分を実装
This commit is contained in:
parent
c40576b3c7
commit
efd85112ca
|
@ -41,7 +41,8 @@ class UserService(private val userRepository: IUserRepository, private val userA
|
|||
}
|
||||
|
||||
override suspend fun findByNameAndDomain(name: String, domain: String?): User {
|
||||
TODO("Not yet implemented")
|
||||
return userRepository.findByNameAndDomain(name, domain ?: Config.configData.domain)
|
||||
?: throw UserNotFoundException("$name was not found.")
|
||||
}
|
||||
|
||||
override suspend fun findByNameAndDomains(names: List<Pair<String, String>>): List<User> =
|
||||
|
|
Loading…
Reference in New Issue