diff options
author | Andrew Dolgov <[email protected]> | 2021-03-10 20:34:48 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-10 20:34:48 +0300 |
commit | f9a9fcbb56ddfe072f80e361c921e07e4e8b3fcf (patch) | |
tree | 5240b41fbcef555d6dcdb59167823f6743c9699e | |
parent | 3e1b3e8ea8098847d9769b37c340cb3255b5399b (diff) |
fix related to Promise.allSettled() returning a bit different result object
-rwxr-xr-x | js/Headlines.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); |