From 783fbee5d5052551fa9fa3c02f62b83b8130e36b Mon Sep 17 00:00:00 2001 From: jj Date: Sat, 16 Mar 2024 18:42:28 +0100 Subject: [PATCH] tiktok: remove useless ternary check Signed-off-by: jj --- src/modules/processing/services/tiktok.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/processing/services/tiktok.js b/src/modules/processing/services/tiktok.js index 38f8ae85..1818daf2 100644 --- a/src/modules/processing/services/tiktok.js +++ b/src/modules/processing/services/tiktok.js @@ -68,7 +68,7 @@ export default async function(obj) { } if (!obj.isAudioOnly && !images) { - video = obj.host === "tiktok" ? detail.video.play_addr.url_list[0] : detail.video.play_addr.url_list[0]; + video = detail.video.play_addr.url_list[0]; videoFilename = `${filenameBase}.mp4`; } else { let fallback = detail.video.play_addr.url_list[0];