This commit is contained in:
kdeng00
2025-07-14 19:35:34 -04:00
parent 41efb1fb15
commit 9b1c0b718f
+1 -1
View File
@@ -793,9 +793,9 @@ pub mod endpoint {
} }
} }
} }
let save_path = dir.join(&song.filename); let save_path = dir.join(&song.filename);
// let mut file = std::fs::File::create(&save_path).unwrap();
match std::fs::File::create(&save_path) { match std::fs::File::create(&save_path) {
Ok(mut file) => { Ok(mut file) => {
file.write_all(&song.data).unwrap(); file.write_all(&song.data).unwrap();