commit | 99845c4c907b2009bfa71ffa0fcfdc46c0b46ec8 | [log] [tgz] |
---|---|---|
author | Siva Velusamy <vsiva@google.com> | Tue Apr 25 23:50:28 2023 -0700 |
committer | Siva Velusamy <vsiva@google.com> | Tue Apr 25 23:50:28 2023 -0700 |
tree | b2d5171335f24907a1b05ca299329eb2cdb20e04 | |
parent | eec621c4fd41dd16e3b74c94e95798bab8cd271e [diff] |
FetchAsGoogleClient: adapt to changes in GoogleLogin Bug: 279338486 Test: N/A Change-Id: Iec4957eb746bff778d821965a4c440eee4842315
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 @@ 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;