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) => {
|
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);
|
||||||
|
|
Loading…
Reference in New Issue