Added icarus_envy (#140)
* Added icarus_envy * Commenting out dotenvy crate * Removing environment and keys modules * Replacing with icarus_envy * Making changes to test code * Removing lingering references in tests * Test fix * Test fix * Another test fix * Rust formatting * Removing commented crate * Using v0.2.0 version of icarus_envy
This commit was merged in pull request #140.
This commit is contained in:
@@ -508,7 +508,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 = crate::environment::get_root_directory().await.unwrap();
|
||||
let directory = icarus_envy::environment::get_root_directory().await;
|
||||
let dir = std::path::Path::new(&directory);
|
||||
|
||||
// TODO: Make this random and the file extension should not be hard coded
|
||||
|
||||
Reference in New Issue
Block a user