aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-02-20 22:42:16 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-02-20 22:42:16 -0600
commitc130fd3236b3376971dd470b43815f7fd9d0bce0 (patch)
tree9cc00ff991ddef6ddfcd5dd0974a932d3b19059a /src/cleaners
parent892cb58ceddb2009f6c1c32ad75e1a7bec5ea06f (diff)
downloadskyblock-api-c130fd3236b3376971dd470b43815f7fd9d0bce0.tar.gz
skyblock-api-c130fd3236b3376971dd470b43815f7fd9d0bce0.tar.bz2
skyblock-api-c130fd3236b3376971dd470b43815f7fd9d0bce0.zip
change other timestamps to be consistent
Diffstat (limited to 'src/cleaners')
-rw-r--r--src/cleaners/skyblock/member.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cleaners/skyblock/member.ts b/src/cleaners/skyblock/member.ts
index 41db716..154ff22 100644
--- a/src/cleaners/skyblock/member.ts
+++ b/src/cleaners/skyblock/member.ts
@@ -40,8 +40,8 @@ export async function cleanSkyBlockProfileMemberResponseBasic(member: any, inclu
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
}
}
@@ -54,8 +54,8 @@ export async function cleanSkyBlockProfileMemberResponse(member, included: Inclu
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,