mirror of
https://github.com/tcgdex/compiler.git
synced 2025-04-22 02:32:10 +00:00
Fixed unused async
Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
638a221347
commit
8f8a5011e5
@ -46,7 +46,7 @@ export async function getSet(name: string, serie = '*', lang: SupportedLanguages
|
||||
return setCache[name]
|
||||
}
|
||||
|
||||
export async function isSetAvailable(set: Set, lang: SupportedLanguages) {
|
||||
export function isSetAvailable(set: Set, lang: SupportedLanguages): boolean {
|
||||
return lang in set.name && lang in set.serie.name
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user