mirror of
https://github.com/sct/overseerr.git
synced 2025-12-26 08:25:07 +01:00
fix: prevent the delete status from changing unless a new request is made"
refactor: remove parent remove change until later date refactor: remove console log
This commit is contained in:
@@ -110,7 +110,10 @@ class BaseScanner<T> {
|
||||
if (existing) {
|
||||
let changedExisting = false;
|
||||
|
||||
if (existing[is4k ? 'status4k' : 'status'] !== MediaStatus.AVAILABLE) {
|
||||
if (
|
||||
existing[is4k ? 'status4k' : 'status'] !== MediaStatus.AVAILABLE &&
|
||||
existing[is4k ? 'status4k' : 'status'] !== MediaStatus.DELETED
|
||||
) {
|
||||
existing[is4k ? 'status4k' : 'status'] = processing
|
||||
? MediaStatus.PROCESSING
|
||||
: MediaStatus.AVAILABLE;
|
||||
|
||||
Reference in New Issue
Block a user