From f9a9fcbb56ddfe072f80e361c921e07e4e8b3fcf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Mar 2021 20:34:48 +0300 Subject: [PATCH] fix related to Promise.allSettled() returning a bit different result object --- js/Headlines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Headlines.js b/js/Headlines.js index 4cedce491..36cff4bc8 100755 --- a/js/Headlines.js +++ b/js/Headlines.js @@ -179,7 +179,7 @@ const Headlines = { results.forEach((res) => { if (res) { try { - const obj = JSON.parse(res); + const obj = JSON.parse(res.value); if (obj.feeds) feeds = feeds.concat(obj.feeds);