Fix API break.

This commit is contained in:
Benoit Marty 2024-10-22 09:36:11 +02:00
parent 40b1ba58fb
commit 9e5738e093

View file

@ -205,7 +205,7 @@ internal class RustEncryptionService(
}
override suspend fun pinUserIdentity(userId: UserId): Result<Unit> = runCatching {
val userIdentity = service.getUserIdentity(userId.value) ?: error("User identity not found")
val userIdentity = service.userIdentity(userId.value) ?: error("User identity not found")
userIdentity.pin()
}
}