Fixed movie flush confirmation.
This commit is contained in:
parent
b94a3e05bc
commit
dbfbd1f04d
|
@ -208,8 +208,8 @@ async function flushMovies() {
|
|||
default: false,
|
||||
}]);
|
||||
|
||||
if (!confirmed.flushScenes) {
|
||||
logger.warn('Confirmation rejected, not flushing scenes');
|
||||
if (!confirmed.flushMovies) {
|
||||
logger.warn('Confirmation rejected, not flushing movies');
|
||||
return;
|
||||
}
|
||||
const deleteCount = await deleteMovies(movieIds);
|
||||
|
|
Loading…
Reference in New Issue