From 92186e42d8af04dcd4e74b801bb2ec4393e7475c Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Sun, 21 Feb 2021 14:48:04 +0100 Subject: [PATCH] Renamed field --- src/example.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/example.ts b/src/example.ts index c9eeccf..9489d68 100644 --- a/src/example.ts +++ b/src/example.ts @@ -35,13 +35,13 @@ async function main() { // Get user data console.log("Fetching user data..."); 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 - const latestUpdates = await getLatestUpdates({ - tags: ["3d game"] - }, 1); - console.log(`"${latestUpdates[0].name}" was the last "3d game" tagged game to be updated\n`); + // const latestUpdates = await getLatestUpdates({ + // tags: ["3d game"] + // }, 1); + // console.log(`"${latestUpdates[0].name}" was the last "3d game" tagged game to be updated\n`); // Get game data for(const gamename of gameList) { @@ -56,6 +56,6 @@ async function main() { // Extract first game 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`); } }