Renamed field
parent
8d4cd4111f
commit
92186e42d8
|
@ -35,13 +35,13 @@ async function main() {
|
||||||
// Get user data
|
// Get user data
|
||||||
console.log("Fetching user data...");
|
console.log("Fetching user data...");
|
||||||
const userdata = await getUserData();
|
const userdata = await getUserData();
|
||||||
console.log(`${userdata.username} follows ${userdata.watchedGameThreads.length} threads\n`);
|
console.log(`${userdata.username} follows ${userdata.watched.length} threads\n`);
|
||||||
|
|
||||||
// Get latest game update
|
// Get latest game update
|
||||||
const latestUpdates = await getLatestUpdates({
|
// const latestUpdates = await getLatestUpdates({
|
||||||
tags: ["3d game"]
|
// tags: ["3d game"]
|
||||||
}, 1);
|
// }, 1);
|
||||||
console.log(`"${latestUpdates[0].name}" was the last "3d game" tagged game to be updated\n`);
|
// console.log(`"${latestUpdates[0].name}" was the last "3d game" tagged game to be updated\n`);
|
||||||
|
|
||||||
// Get game data
|
// Get game data
|
||||||
for(const gamename of gameList) {
|
for(const gamename of gameList) {
|
||||||
|
@ -56,6 +56,6 @@ async function main() {
|
||||||
|
|
||||||
// Extract first game
|
// Extract first game
|
||||||
const gamedata = found[0];
|
const gamedata = found[0];
|
||||||
console.log(`Found: ${gamedata.name} (${gamedata.version}) by ${gamedata.author}\n`);
|
//console.log(`Found: ${gamedata.name} (${gamedata.version}) by ${gamedata.author}\n`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue