From 9b1c0b718f2b1b05fcb8297adb49ae6ccae16849 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Mon, 14 Jul 2025 19:35:34 -0400 Subject: [PATCH] Cleanup --- src/callers/song.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callers/song.rs b/src/callers/song.rs index c88180e..a06cabb 100644 --- a/src/callers/song.rs +++ b/src/callers/song.rs @@ -793,9 +793,9 @@ pub mod endpoint { } } } + let save_path = dir.join(&song.filename); - // let mut file = std::fs::File::create(&save_path).unwrap(); match std::fs::File::create(&save_path) { Ok(mut file) => { file.write_all(&song.data).unwrap();