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 49d9e5e8c0
commit 1c6ffc8ce2
3 changed files with 13 additions and 10 deletions

View file

@ -42,7 +42,6 @@ export interface SearchGamesArgs {
skip?: number;
}
// Check if this function really needed to be an async function
export const searchGames = ({
query,
take,