mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
make sure the registed event for seachGames returns a Promise
This commit is contained in:
parent
4ffaa510cc
commit
bb9302908d
3 changed files with 13 additions and 10 deletions
|
|
@ -25,7 +25,7 @@ export const requestSteam250 = async (path: string) => {
|
|||
})
|
||||
.filter((game) => game != null);
|
||||
})
|
||||
.catch((_) => []);
|
||||
.catch((_) => [] as Steam250Game[]);
|
||||
};
|
||||
|
||||
const steam250Paths = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue