File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -715,8 +715,8 @@ mod private {
715
715
AuthFlow :: ServiceAccountFlow ( service_account_flow) => {
716
716
service_account_flow. token ( hyper_client, scopes) . await
717
717
}
718
- AuthFlow :: ApplicationDefaultCredentialsFlow ( service_account_flow ) => {
719
- service_account_flow . token ( hyper_client, scopes) . await
718
+ AuthFlow :: ApplicationDefaultCredentialsFlow ( adc_flow ) => {
719
+ adc_flow . token ( hyper_client, scopes) . await
720
720
}
721
721
AuthFlow :: AuthorizedUserFlow ( authorized_user_flow) => {
722
722
authorized_user_flow. token ( hyper_client, scopes) . await
@@ -780,7 +780,7 @@ impl HyperClientBuilder for DefaultHyperClient {
780
780
#[ cfg( feature = "hyper-rustls" ) ]
781
781
let connector = hyper_rustls:: HttpsConnectorBuilder :: new ( )
782
782
. with_native_roots ( )
783
- . https_only ( )
783
+ . https_or_http ( )
784
784
. enable_http1 ( )
785
785
. enable_http2 ( )
786
786
. build ( ) ;
You can’t perform that action at this time.
0 commit comments