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.
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.