aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-02-20 22:51:04 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-02-20 22:51:04 -0600
commit31b2ae8af35378969497532b9cdb75f40472c316 (patch)
treeb86492ed518925535dc059b26c63d1538756bd42 /build
parentc130fd3236b3376971dd470b43815f7fd9d0bce0 (diff)
parent9f99a3e0f6c8066e152b35a5e7e1b4751f04de14 (diff)
downloadskyblock-api-31b2ae8af35378969497532b9cdb75f40472c316.tar.gz
skyblock-api-31b2ae8af35378969497532b9cdb75f40472c316.tar.bz2
skyblock-api-31b2ae8af35378969497532b9cdb75f40472c316.zip
Merge branch 'main' of https://github.com/skyblockstats/skyblock-api into main
Diffstat (limited to 'build')
-rw-r--r--build/cleaners/player.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/cleaners/player.js b/build/cleaners/player.js
index 3ae4e87..a767d7e 100644
--- a/build/cleaners/player.js
+++ b/build/cleaners/player.js
@@ -13,6 +13,7 @@ async function cleanPlayerResponse(data) {
username: data.displayname,
rank: rank_1.cleanRank(data),
socials: socialmedia_1.cleanSocialMedia(data),
+ first_join: data.firstLogin / 1000,
profiles: profiles_1.cleanPlayerSkyblockProfiles((_b = (_a = data.stats) === null || _a === void 0 ? void 0 : _a.SkyBlock) === null || _b === void 0 ? void 0 : _b.profiles)
};
}