diff --git a/Cargo.toml b/Cargo.toml index 3ccbd0a..926c132 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] google_bigquery_v2 = { version = "0.2", git = "https://github.com/OMGeeky/google_bigquery_v2" } -google_youtube = { version = "0.1", git = "https://github.com/OMGeeky/google_youtube" } +google_youtube = { version = "0.2", git = "https://github.com/OMGeeky/google_youtube" } twitch_data = { version = "0.2", git = "https://github.com/OMGeeky/twitch_data" } downloader_config = { version = "0.4", git = "https://github.com/OMGeeky/downloader_config" } tokio = "1.23" diff --git a/src/lib.rs b/src/lib.rs index 09fc96d..673b5f4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -411,7 +411,7 @@ async fn upload_video_to_youtube<'a>( let playlist_title = get_playlist_title_from_twitch_video(&video)?; let playlist = youtube_client - .find_playlist_or_create_by_name(&playlist_title) + .find_playlist_or_create_by_name(&playlist_title, privacy) .await .map_err(|e| anyhow!("{}", e))?; youtube_client