Skip to content

Commit

Permalink
Merge pull request #343 from aozarov/temp
Browse files Browse the repository at this point in the history
scope appliation default credentials
  • Loading branch information
ajkannan committed Nov 10, 2015
2 parents 0a04229 + b2e1131 commit 49e3bd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public boolean equals(Object obj) {
@Override
protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport,
Set<String> scopes) {
return new HttpCredentialsAdapter(googleCredentials);
return new HttpCredentialsAdapter(googleCredentials.createScoped(scopes));
}

@Override
Expand Down

0 comments on commit 49e3bd8

Please sign in to comment.