From 6fcd31f035ec1d19c920c23c33aa89cf3d8a6877 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Tue, 4 Mar 2025 03:47:15 +0100 Subject: [PATCH] Logging source during media delete. --- src/media.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/media.js b/src/media.js index 4f7be4f1..2f03e66c 100755 --- a/src/media.js +++ b/src/media.js @@ -1032,7 +1032,7 @@ async function flushOrphanedMedia(stage = 1) { logger.info(`Flushing orphaned media, stage ${stage}`); const orphanedMedia = await knex('media') - .select('id', 'path', 'thumbnail', 'lazy', 'is_s3') + .select('id', 'path', 'thumbnail', 'lazy', 'is_s3', 'source') .where('is_sfw', false) .whereNotExists( knex.from(