mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-20 17:53:55 +00:00
changes after pr review
This commit is contained in:
@@ -36,8 +36,9 @@ const steam250Paths = [
|
||||
];
|
||||
|
||||
export const getSteam250List = async () => {
|
||||
const gamesPromises = steam250Paths.map((path) => requestSteam250(path));
|
||||
const gamesList = (await Promise.all(gamesPromises)).flat();
|
||||
const gamesList = (
|
||||
await Promise.all(steam250Paths.map((path) => requestSteam250(path)))
|
||||
).flat();
|
||||
|
||||
const gamesMap: Map<string, Steam250Game> = gamesList.reduce((map, item) => {
|
||||
map.set(item.objectID, item);
|
||||
|
||||
Reference in New Issue
Block a user