From 1e0627038afb2ea4c8b06fa2d93c007376a148bb Mon Sep 17 00:00:00 2001 From: jj Date: Mon, 29 Apr 2024 17:16:51 +0200 Subject: [PATCH] Update src/modules/processing/services/rutube.js Signed-off-by: jj --- src/modules/processing/services/rutube.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/processing/services/rutube.js b/src/modules/processing/services/rutube.js index 672d9f59..1e1df015 100644 --- a/src/modules/processing/services/rutube.js +++ b/src/modules/processing/services/rutube.js @@ -38,7 +38,7 @@ export default async function(obj) { return { error: ['ErrorLengthLimit', maxVideoDuration / 60000] }; let m3u8 = await fetch(play.video_balancer.m3u8) - .then((r) => { return r.text() }) + .then(r => r.text()) .catch(() => {}); if (!m3u8) return { error: 'ErrorCouldntFetch' };