mirror of
https://github.com/tcgdex/compiler.git
synced 2025-07-28 23:19:50 +00:00
Added Support for legal file (#13)
* Added Support for legal file Signed-off-by: Avior <florian.bouillon@delta-wings.net> * Fixed bug Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
@ -17,7 +17,7 @@ export default class implements Endpoint<SerieList, SerieSingle, {}, Array<Serie
|
||||
for (let key = 0; key < common.length; key++) {
|
||||
const val = common[key];
|
||||
const gen = await serieToSerieSingle(val, this.lang)
|
||||
const name = val.name[this.lang]
|
||||
const name = val.name[this.lang] as string
|
||||
items[name] = gen
|
||||
items[val.id] = gen
|
||||
}
|
||||
|
Reference in New Issue
Block a user