mirror of
https://github.com/tcgdex/compiler.git
synced 2025-07-29 07:29:50 +00:00
Fixed unused async
Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net>
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user