This commit is contained in:
Wojciech Kozlowski 2024-09-21 16:12:55 +02:00
parent a67e6b937f
commit 41199f4750
2 changed files with 2 additions and 3 deletions

View File

@ -41,7 +41,7 @@ impl AppMachine<FetchState> {
};
let (fetch_tx, fetch_rx) = mpsc::channel::<MbApiResult>();
if let Err(err) = Self::submit_fetch_job(&inner.musicbrainz, fetch_tx, artist) {
if let Err(err) = Self::submit_fetch_job(&*inner.musicbrainz, fetch_tx, artist) {
return AppMachine::error_state(inner, err.to_string()).into();
}
@ -78,7 +78,7 @@ impl AppMachine<FetchState> {
}
fn submit_fetch_job(
musicbrainz: &Box<dyn IMbJobSender>,
musicbrainz: &dyn IMbJobSender,
result_sender: ResultSender,
artist: &Artist,
) -> Result<(), DaemonError> {

View File

@ -1,3 +1,2 @@
pub mod api;
pub mod daemon;