fix: change arg from String to &str

This commit is contained in:
LinlyBoi
2025-07-10 17:01:53 +03:00
parent e0551b7112
commit 0000e5826f

View File

@@ -256,7 +256,7 @@ impl YouTubeUploader {
} }
} }
pub fn create_default_metadata(video_files: &[String], description_file: String) -> Vec<VideoMetadata> { pub fn create_default_metadata(video_files: &[String], description_file: &str) -> Vec<VideoMetadata> {
let expanded_path = expand_tilde(&description_file); let expanded_path = expand_tilde(&description_file);
video_files video_files
.iter() .iter()