Skip to content

Commit 1f17623

Browse files
committed
revert a change in messaging
1 parent 6c38135 commit 1f17623

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

messaging/src/main/java/com/google/firebase/quickstart/Messaging.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ public class Messaging {
5555
// [START retrieve_access_token]
5656
private static String getAccessToken() throws IOException {
5757
GoogleCredentials googleCredentials = GoogleCredentials
58-
.fromStream(new FileInputStream("android-gcm-test-519bd-4b2b39c38ceb.json"))
59-
// .fromStream(new FileInputStream("service-account.json"))
58+
.fromStream(new FileInputStream("service-account.json"))
6059
.createScoped(Arrays.asList(SCOPES));
6160
googleCredentials.refresh();
6261
return googleCredentials.getAccessToken().getTokenValue();

0 commit comments

Comments
 (0)