mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-04-22 10:52:10 +00:00
parent
7de5764409
commit
80ec53a57d
@ -20,7 +20,6 @@ export default class implements Endpoint<SerieList, SerieSingle, Record<string,
|
||||
for await (const val of common) {
|
||||
const gen = await serieToSerieSingle(val, this.lang)
|
||||
const name = val.name[this.lang] as string
|
||||
items[name] = gen
|
||||
items[val.id] = gen
|
||||
}
|
||||
return items
|
||||
|
@ -27,7 +27,6 @@ export default class implements Endpoint<SetList, SetSingle, CardSingle, Array<S
|
||||
const res: Record<string, SetSingle> = {}
|
||||
|
||||
for (const set of sets) {
|
||||
res[set.name] = set
|
||||
res[set.id] = set
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user