Meta data field customization #19
This commit is contained in:
parent
b4e40d2daa
commit
78ee146b71
8 changed files with 247 additions and 11 deletions
|
|
@ -81,7 +81,10 @@ export class SteamAPI extends APIModel {
|
|||
|
||||
let result;
|
||||
for (const [key, value] of Object.entries(await fetchData.json)) {
|
||||
if (key == id) {
|
||||
// console.log(typeof key, key)
|
||||
// console.log(typeof id, id)
|
||||
// after some testing I found out that id is somehow a number despite that it's defined as string...
|
||||
if (key === String(id)) {
|
||||
result = value.data;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue