fix after rebase

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-07-26 22:38:14 +02:00
parent e5bf5ec261
commit d1a562cf80
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -51,7 +51,7 @@ class UserManager internal constructor(private val userRepository: UsersReposito
return userRepository.getActiveUserObservable()
}
fun deleteUser(internalId: Long) {
fun deleteUser(internalId: Long): Int {
return userRepository.deleteUser(userRepository.getUserWithId(internalId).blockingGet())
}