Quick fixes
This commit is contained in:
parent
4ce09185d3
commit
e564dedf2c
@ -116,10 +116,13 @@ async function GetDevelopers() {
|
|||||||
const companyIds = new Set();
|
const companyIds = new Set();
|
||||||
|
|
||||||
for (let i = 0; i < beatGameIGDBEntries.length; i++) {
|
for (let i = 0; i < beatGameIGDBEntries.length; i++) {
|
||||||
|
if (beatGameIGDBEntries[i].involved_companies)
|
||||||
|
{
|
||||||
for (let j = 0; j < beatGameIGDBEntries[i].involved_companies.length; j++) {
|
for (let j = 0; j < beatGameIGDBEntries[i].involved_companies.length; j++) {
|
||||||
companyIds.add(beatGameIGDBEntries[i].involved_companies[j]);
|
companyIds.add(beatGameIGDBEntries[i].involved_companies[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const ids = [...companyIds];
|
const ids = [...companyIds];
|
||||||
const tempIds = [];
|
const tempIds = [];
|
||||||
|
@ -133,7 +133,7 @@ async function getCompanyInfo(id) {
|
|||||||
developer = response[0];
|
developer = response[0];
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
console.error(err);
|
return console.error(err);
|
||||||
});
|
});
|
||||||
|
|
||||||
return developer;
|
return developer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user