Fix compilation issues.
This commit is contained in:
parent
5baefd479f
commit
bc62f8cfce
2 changed files with 2 additions and 2 deletions
|
|
@ -205,7 +205,7 @@ internal class RustEncryptionService(
|
|||
}
|
||||
|
||||
override suspend fun pinUserIdentity(userId: UserId): Result<Unit> = runCatching {
|
||||
val userIdentity = service.getUserIdentity(userId.value)
|
||||
val userIdentity = service.getUserIdentity(userId.value) ?: throw IllegalStateException("User identity not found")
|
||||
userIdentity.pin()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue