Skip to content

Commit

Permalink
fix(services/integration): do not return object if it is finished
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Jan 18, 2025
1 parent ace17dd commit b5235e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/services/integration/src/yank/audiobookshelf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ where
progress = ebook_progress;
}
}
if progress == dec!(1) && resp.is_finished {
ryot_log!(debug, "Item {:?} is finished", item);
continue;
}
result
.completed
.push(ImportCompletedItem::Metadata(ImportOrExportMetadataItem {
Expand Down

0 comments on commit b5235e9

Please sign in to comment.