mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Change enum PublicCredentialType to enum class.
PiperOrigin-RevId: 486243753
This commit is contained in:
committed by
Copybara-Service
parent
f0440e96a9
commit
5faa395f24
@@ -296,7 +296,8 @@ absl::StatusOr<std::string> CredentialManagerImpl::DecryptDataElements(
|
||||
.identity_type = internal::IDENTITY_TYPE_PUBLIC,
|
||||
};
|
||||
ExceptionOr<std::vector<PublicCredential>> credentials =
|
||||
GetPublicCredentialsSync(selector, kRemotePublicCredential, kTimeout);
|
||||
GetPublicCredentialsSync(
|
||||
selector, PublicCredentialType::kRemotePublicCredential, kTimeout);
|
||||
if (!credentials.ok()) {
|
||||
return absl::UnavailableError("Failed to fetch credentials");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user