From 9b1c25a16a51f163416d80df3da002238b7475bc Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Fri, 16 Oct 2020 09:29:29 +0200 Subject: [PATCH] Bugfix --- app/scripts/game-scraper.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/scripts/game-scraper.js b/app/scripts/game-scraper.js index d19569d..5bf11ea 100644 --- a/app/scripts/game-scraper.js +++ b/app/scripts/game-scraper.js @@ -61,8 +61,7 @@ module.exports.getGameInfo = async function (browser, url) { ? parsedInfos["UPDATED"] : parsedInfos["THREAD UPDATED"]; info.previewSource = await previewSource; - let temp = await changelog; - info.changelog = temp ? temp : "Unknown changelog"; + info.changelog = (await changelog || "Unknown changelog"); //info.downloadInfo = await downloadData; /* Downloading games without going directly to * the platform appears to be prohibited by