From e29a7f7c393343349f2180ed6f67253f670fcbf0 Mon Sep 17 00:00:00 2001 From: Saif Al Falah Date: Thu, 25 Nov 2021 13:58:45 +0530 Subject: [PATCH] fixing bug --- src/http/post-index/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/post-index/helpers.js b/src/http/post-index/helpers.js index f7dbec4..7ab69b7 100644 --- a/src/http/post-index/helpers.js +++ b/src/http/post-index/helpers.js @@ -63,7 +63,7 @@ exports.checkIfTcoUrl = (url) => { // && parsedUrl.hostname !== "mobile.twitter.com" ) { return true; - } + } else return false; }; exports.getTweetPath = (url) => parse(url).pathname.split("/")[3];