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 };