there can also be no description

This commit is contained in:
localhost 2026-03-02 18:08:43 +01:00
parent c5e6692935
commit b22b2b4366
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ app.ws('/savechannel', {
break; break;
} }
const slopScore = await parseSlop(video.video_id, video.title.text, video.description_snippet.text) const slopScore = await parseSlop(video.video_id, video.title.text, video.description_snippet?.text || '')
if (slopScore >= 4) { if (slopScore >= 4) {
sendError(ws, 'Filters can always be wrong. Is the rating wrong? Email me at admin@preservetube.com', false); sendError(ws, 'Filters can always be wrong. Is the rating wrong? Email me at admin@preservetube.com', false);