schmitty890 / sports-tracker

MIT License
1 stars 0 forks source link

Async await in for loop #55

Closed schmitty890 closed 4 years ago

schmitty890 commented 4 years ago

removing async and await from for loop and making a promise.all to nhl .gameToday() axios call 🏒 -- Pat, i know we talked about this tonight, feel free to push up an async/await solution, i'd love to see one. i found a solution with promise.all that seemed to work to get the await out of the for loop