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