aboutsummaryrefslogtreecommitdiff
path: root/build/cleaners/skyblock
diff options
context:
space:
mode:
authormat-1 <github@matdoes.dev>2021-02-21 04:51:39 +0000
committermat-1 <github@matdoes.dev>2021-02-21 04:51:39 +0000
commit78198ac4812f6f33f412bdc62216567aa08d8199 (patch)
tree9cd238e1f74a77bf149d514fbdc2ce3c8f3261f4 /build/cleaners/skyblock
parentd4b71f8dab86e95cd50f808fdbd2155f73e84469 (diff)
downloadskyblock-api-78198ac4812f6f33f412bdc62216567aa08d8199.tar.gz
skyblock-api-78198ac4812f6f33f412bdc62216567aa08d8199.tar.bz2
skyblock-api-78198ac4812f6f33f412bdc62216567aa08d8199.zip
Compiled TS into JS
Diffstat (limited to 'build/cleaners/skyblock')
-rw-r--r--build/cleaners/skyblock/member.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/cleaners/skyblock/member.js b/build/cleaners/skyblock/member.js
index 0f2e048..8b922a5 100644
--- a/build/cleaners/skyblock/member.js
+++ b/build/cleaners/skyblock/member.js
@@ -35,8 +35,8 @@ async function cleanSkyBlockProfileMemberResponseBasic(member, included = null)
return {
uuid: member.uuid,
username: player.username,
- last_save: member.last_save,
- first_join: member.first_join,
+ last_save: member.last_save / 1000,
+ first_join: member.first_join / 1000,
rank: player.rank
};
}
@@ -49,8 +49,8 @@ async function cleanSkyBlockProfileMemberResponse(member, included = null) {
return {
uuid: member.uuid,
username: player.username,
- last_save: member.last_save,
- first_join: member.first_join,
+ last_save: member.last_save / 1000,
+ first_join: member.first_join / 1000,
rank: player.rank,
purse: member.coin_purse,
stats: stats_1.cleanProfileStats(member),