icarus_envy related changes

This commit is contained in:
kdeng00
2025-10-10 18:58:22 -04:00
parent 6293a4287c
commit c9997514b5
4 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -702,7 +702,7 @@ pub mod endpoint {
let song_id = payload.song_id;
match crate::callers::song::song_db::get_song(&pool, &song_id).await {
Ok(song) => {
let directory = icarus_envy::environment::get_root_directory().await;
let directory = icarus_envy::environment::get_root_directory().await.value;
let dir = std::path::Path::new(&directory);
// TODO: Make this random and the file extension should not be hard coded