mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-28 23:09:18 +00:00
perf: Remove Uneeded logging (#219)
This commit is contained in:
@ -80,10 +80,8 @@ export default class Card implements LocalCard {
|
||||
const res = (require(`../../../generated/${lang}/cards.json`) as Array<SDKCard>).find((c) => {
|
||||
return objectLoop(params, (it, key) => {
|
||||
if (key === 'set' && typeof it === 'string') {
|
||||
console.log("set", c['set'].id, it, lightCheck(c['set'].id, it))
|
||||
return (c['set'].id === it || lightCheck(c['set'].name, it))
|
||||
}
|
||||
console.log("other field", key, c[key as 'localId'], it, lightCheck(c[key as 'localId'], it))
|
||||
return lightCheck(c[key as 'localId'], it)
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user