fix related to Promise.allSettled() returning a bit different result object

This commit is contained in:
Andrew Dolgov 2021-03-10 20:34:48 +03:00
parent 3e1b3e8ea8
commit f9a9fcbb56
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ const Headlines = {
results.forEach((res) => { results.forEach((res) => {
if (res) { if (res) {
try { try {
const obj = JSON.parse(res); const obj = JSON.parse(res.value);
if (obj.feeds) if (obj.feeds)
feeds = feeds.concat(obj.feeds); feeds = feeds.concat(obj.feeds);