| commit | 33b500a2042e29baa0d385947120bd459bb1bd28 | [log] [tgz] |
|---|---|---|
| author | Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> | Mon Jun 08 22:17:55 2020 |
| committer | GitHub <noreply@github.com> | Mon Jun 08 22:17:55 2020 |
| tree | 93317ae5adea7071d7fbd2f68bd221325ffd6a68 | |
| parent | ee53b3b32a050874ba4cfb491fb384f94682c824 [diff] |
fix: prefer V2 Discovery URI format v2 is now preferred
diff --git a/googleapiclient/discovery.py b/googleapiclient/discovery.py index 55367c0..9d7d102 100644 --- a/googleapiclient/discovery.py +++ b/googleapiclient/discovery.py
@@ -238,7 +238,7 @@ else: discovery_http = http - for discovery_url in (discoveryServiceUrl, V2_DISCOVERY_URI): + for discovery_url in (V2_DISCOVERY_URI, discoveryServiceUrl): requested_url = uritemplate.expand(discovery_url, params) try: