From 8d2fd71f617596cd9d05052e1f2ea53454fbd3e4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 8 Jun 2020 15:50:20 +0200 Subject: [PATCH] Throw on invalid data --- server/lib/peertube-instance.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/lib/peertube-instance.ts b/server/lib/peertube-instance.ts index c8f70bc..531ed20 100644 --- a/server/lib/peertube-instance.ts +++ b/server/lib/peertube-instance.ts @@ -41,6 +41,10 @@ async function getVideos (host: string, start: number): Promise prepareVideoForDB(v, host)) }