Fixed movie flush confirmation.

This commit is contained in:
DebaucheryLibrarian 2021-02-05 04:17:47 +01:00
parent b94a3e05bc
commit dbfbd1f04d
1 changed files with 2 additions and 2 deletions

View File

@ -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);