Skip to content

Commit

Permalink
Addressed bug with Finished Condition during background tasks (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Tate authored Aug 11, 2024
1 parent 15a3fe9 commit b1c1069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/src/miscellaneous.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2733,7 +2733,7 @@ impl MiscellaneousService {
if !seen_history.is_empty() {
new_reasons.insert(UserToMediaReason::Seen);
}
if is_finished {
if !seen_history.is_empty() && is_finished {
new_reasons.insert(UserToMediaReason::Finished);
}
} else if ute.person_id.is_some() || ute.metadata_group_id.is_some() {
Expand Down

0 comments on commit b1c1069

Please sign in to comment.