Code formatting

This commit is contained in:
phoenix
2025-03-15 18:03:05 -04:00
parent 554be00bce
commit 083556ccd0
3 changed files with 15 additions and 8 deletions
+9 -2
View File
@@ -59,7 +59,10 @@ impl Upload {
new_song.songpath = p;
}
Err(er) => {
return Err(std::io::Error::new(std::io::ErrorKind::Other, "Error with song path"));
return Err(std::io::Error::new(
std::io::ErrorKind::Other,
"Error with song path",
));
}
}
let access_token = token.bearer_token();
@@ -179,7 +182,11 @@ impl Upload {
return url;
}
fn initialize_song(&self, song: &icarus_models::song::Song, album: &models::song::Album) -> Song {
fn initialize_song(
&self,
song: &icarus_models::song::Song,
album: &models::song::Album,
) -> Song {
let dur = song.duration.clone();
println!("Duration: {}", dur);