mirror of https://github.com/usbharu/Hideout.git
feat: 実装し忘れていた部分を実装
This commit is contained in:
parent
a41af72a8f
commit
f76e904a82
|
@ -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