This commit is contained in:
Sebastien 2018-03-04 14:32:06 +01:00
parent c6a2fbfbe5
commit 61ab37983c

View File

@ -85,7 +85,7 @@ public class YoutubeTools {
GoogleAuthorizationCodeFlow flow = new GoogleAuthorizationCodeFlow.Builder(
HTTP_TRANSPORT, JSON_FACTORY, clientSecrets, SCOPES)
.setDataStoreFactory(DATA_STORE_FACTORY)
.setAccessType("offline")
.setAccessType("online")
.build();