Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Ensure array is returned to
Promise.all
(#504)
`fetchShardsPromises` is used within `Promise.all` to fetch all shards simultaneously. The `async` modifier means this function returns a `Promise`. `Promise.all` complains since it's passed a `Promise` rather than an `Array`. This PR removes the unnecessary `async` modifier so it works with `Promise.all`
- Loading branch information