fix related to Promise.allSettled() returning a bit different result object
This commit is contained in:
parent
3e1b3e8ea8
commit
f9a9fcbb56
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue