From 45da7dcf7b3fed33427ad8493672b58ad740cf3c Mon Sep 17 00:00:00 2001 From: ibrahim nazari Date: Thu, 22 Aug 2024 14:41:04 +0430 Subject: [PATCH] added comment to explain if condition for youtube video --- app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app.js b/app.js index f0eb444..c0c355d 100644 --- a/app.js +++ b/app.js @@ -56,6 +56,7 @@ app.post("/", async (req, res) => { }; } } + // check here if it is youtube video if (newData.mediaType == "video.other") { const videoId = youtube_parser(url); newData = { ...newData, videoId };