From c9593d76b6b6f2a598fa424770b7b089e313aec3 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Sun, 21 Feb 2021 14:40:43 +0100 Subject: [PATCH] Renamed fields --- src/scripts/user-scraper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/user-scraper.ts b/src/scripts/user-scraper.ts index b43c629..0b54241 100644 --- a/src/scripts/user-scraper.ts +++ b/src/scripts/user-scraper.ts @@ -20,8 +20,8 @@ export async function getUserData(): Promise { // Create object const ud = new UserData(); ud.username = data.username; - ud.avatarSrc = data.source; - ud.watchedGameThreads = urls; + ud.avatar = data.source; + ud.watched = urls; return ud; };