We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0454309 commit 5602fd2Copy full SHA for 5602fd2
1 file changed
base/cvd/cuttlefish/host/libs/web/oauth2_consent.cpp
@@ -295,7 +295,7 @@ Result<std::unique_ptr<CredentialSource>> CredentialForScopes(
295
}
296
Result<std::unique_ptr<CredentialSource>> credential =
297
CredentialForScopes(http_client, scopes, credential_path);
298
- if (credential.ok() && credential->get() != nullptr) {
+ if (credential.ok() && *credential != nullptr) {
299
return std::move(*credential);
300
301
0 commit comments