RandomSec/extensions
Matías García Isaía 282cfa6e93
Fix null precondition while importing a Google Sheet (#3801)
`Credential.Builder()` requires a non-null `AccessMethod`[0], and we were sending
it `null` when actually importing the spreadsheet.

This commit defaults to the same `BearerToken.authorizationHeaderAccessMethod()` that the
`getDriveService()` function was already using.

[0]: https://github.com/googleapis/google-oauth-java-client/blob/v1.31.0/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/Credential.java#L636-L638

Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-06-28 09:35:05 +02:00
..
database build(deps): bump mockito-core from 3.11.1 to 3.11.2 (#3999) 2021-06-22 14:12:43 +02:00
gdata Fix null precondition while importing a Google Sheet (#3801) 2021-06-28 09:35:05 +02:00
jython build(deps): bump maven-dependency-plugin from 3.1.2 to 3.2.0 (#3984) 2021-06-14 09:22:30 +02:00
pc-axis build(deps): bump maven-dependency-plugin from 3.1.2 to 3.2.0 (#3984) 2021-06-14 09:22:30 +02:00
phonetic build(deps): bump maven-dependency-plugin from 3.1.2 to 3.2.0 (#3984) 2021-06-14 09:22:30 +02:00
sample Revert "Revert "Migrate to Maven"" 2018-09-16 15:34:47 +01:00
wikidata build(deps): bump slf4j.version from 1.7.30 to 1.7.31 (#3994) 2021-06-21 18:05:21 +02:00
pom.xml Set version to 3.6-SNAPSHOT 2021-05-29 13:06:04 +02:00