Hi
I am trying to get data using CID
and ipfs.cat
but i get a promise that never get resolved.
i actually have a list of CIDs and a loop like this below:
async (cidCollection) => {
return Promise.all(cidCollection.map(async (c) => {
let _cat = await last(node.cat(c.cid))
return {...c, ...JSON.parse(cat)};
}))
}
all good if i just do https://ipfs.io/ipfs/QmbFGfCpuW2YVgWusYxywXWisWWyYrzGi2rsCy7mDGa5hm