Skip to content

Commit

Permalink
drive_example: Make example compile again. Fixes #134
Browse files Browse the repository at this point in the history
  • Loading branch information
dermesser committed Oct 27, 2020
1 parent 2f50876 commit be4faf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/drive_example/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::path::Path;
use hyper::net::HttpsConnector;
use hyper_native_tls::NativeTlsClient;

use google_drive3::Drive;
use google_drive3::DriveHub;
use yup_oauth2::{
read_application_secret, ApplicationSecret, Authenticator, DefaultAuthenticatorDelegate,
DiskTokenStorage, FlowType,
Expand All @@ -37,7 +37,7 @@ fn main() {
);
let client =
hyper::Client::with_connector(HttpsConnector::new(NativeTlsClient::new().unwrap()));
let hub = Drive::new(client, authenticator);
let hub = DriveHub::new(client, authenticator);

let (_resp, list_result) = hub
.files()
Expand Down

0 comments on commit be4faf9

Please sign in to comment.