there can also be no description
This commit is contained in:
parent
c5e6692935
commit
b22b2b4366
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue