aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authormat-1 <github@matdoes.dev>2021-02-21 04:41:55 +0000
committermat-1 <github@matdoes.dev>2021-02-21 04:41:55 +0000
commit9f99a3e0f6c8066e152b35a5e7e1b4751f04de14 (patch)
treee666646227f5ff0d3fdaca79321280b8be130629 /build
parent892cb58ceddb2009f6c1c32ad75e1a7bec5ea06f (diff)
downloadskyblock-api-9f99a3e0f6c8066e152b35a5e7e1b4751f04de14.tar.gz
skyblock-api-9f99a3e0f6c8066e152b35a5e7e1b4751f04de14.tar.bz2
skyblock-api-9f99a3e0f6c8066e152b35a5e7e1b4751f04de14.zip
Compiled TS into JS
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)
};
}