Change enum PublicCredentialType to enum class.

PiperOrigin-RevId: 486243753
This commit is contained in:
Janusz Sobczak
2022-11-04 15:26:34 -07:00
committed by Copybara-Service
parent f0440e96a9
commit 5faa395f24
2 changed files with 11 additions and 2 deletions
@@ -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");
}