make sure the registed event for seachGames returns a Promise

This commit is contained in:
Zamitto 2024-04-28 00:13:29 -03:00
parent 4ffaa510cc
commit bb9302908d
3 changed files with 13 additions and 10 deletions

View file

@ -25,7 +25,7 @@ export const requestSteam250 = async (path: string) => {
})
.filter((game) => game != null);
})
.catch((_) => []);
.catch((_) => [] as Steam250Game[]);
};
const steam250Paths = [