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:
+1
-1
@@ -770,7 +770,7 @@ pub mod endpoint {
|
||||
let mut song = payload.to_song();
|
||||
song.filename =
|
||||
song.generate_filename(icarus_models::types::MusicTypes::FlacExtension, true);
|
||||
song.directory = crate::environment::get_root_directory().await.unwrap();
|
||||
song.directory = icarus_envy::environment::get_root_directory().await;
|
||||
|
||||
match song_queue::get_data(&pool, &payload.song_queue_id).await {
|
||||
Ok(data) => {
|
||||
|
||||
Reference in New Issue
Block a user