From 2bccc0fa201137e07f6046c8b22e2d72d91abfff Mon Sep 17 00:00:00 2001 From: Marcel Robitaille Date: Tue, 12 Nov 2024 17:37:56 +0100 Subject: [PATCH] Fix deleted column in videos.ts --- src/videos.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/videos.ts b/src/videos.ts index bce7fa8..c8c5779 100644 --- a/src/videos.ts +++ b/src/videos.ts @@ -203,7 +203,9 @@ export const parseFeedsAndNotify = async ( }) const channels: Channel[] = await db.all(SQL` - SELECT channelId, channelTitle, channelThumbnail FROM subscriptions; + SELECT channelId, channelTitle, channelThumbnail + FROM subscriptions + WHERE deleted=0; `) for (const [i, channel] of channels.entries()) {