diff options
author | Siva Velusamy <vsiva@google.com> | 2023-04-25 23:50:28 -0700 |
---|---|---|
committer | Siva Velusamy <vsiva@google.com> | 2023-04-25 23:50:28 -0700 |
commit | 99845c4c907b2009bfa71ffa0fcfdc46c0b46ec8 (patch) | |
tree | b2d5171335f24907a1b05ca299329eb2cdb20e04 | |
parent | eec621c4fd41dd16e3b74c94e95798bab8cd271e (diff) | |
download | appindexing-mirror-goog-studio-main.tar.gz |
FetchAsGoogleClient: adapt to changes in GoogleLoginmirror-goog-studio-main
Bug: 279338486
Test: N/A
Change-Id: Iec4957eb746bff778d821965a4c440eee4842315
-rw-r--r-- | src/com/google/appindexing/fetchasgoogle/FetchAsGoogleClient.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/google/appindexing/fetchasgoogle/FetchAsGoogleClient.java b/src/com/google/appindexing/fetchasgoogle/FetchAsGoogleClient.java index a16f0e8..80c5c33 100644 --- a/src/com/google/appindexing/fetchasgoogle/FetchAsGoogleClient.java +++ b/src/com/google/appindexing/fetchasgoogle/FetchAsGoogleClient.java @@ -80,7 +80,7 @@ public class FetchAsGoogleClient { CredentialedUser user = GoogleLogin.getInstance().getActiveUser(); if (user != null) { return new FetchasgooglePa.Builder(httpTransport, jsonFactory, - new FetchAsGoogleHttpRequestInitializer(user.getCredential())) + new FetchAsGoogleHttpRequestInitializer(user.credential)) .setServicePath(SERVER_PATH).setRootUrl(ROOT_URL).setApplicationName(APPLICATION_NAME).build(); } return null; |