Best way to call api while looping through array

Can you start by putting an await Promise.all on your map?

Currently your code does not wait for any of the promises that the map creates to finish.

3 Likes