fix(eternal): fix Andreal score timestamp

This commit is contained in:
283375 2023-09-08 18:16:58 +08:00
parent d763896c0c
commit 6258a55ba4
Signed by: 283375
SSH Key Fingerprint: SHA256:UcX0qg6ZOSDOeieKPGokA5h7soykG61nz2uxuQgVLSk
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ class AndrealImageGeneratorAccount:
self,
name: str = "Player",
code: int = 123456789,
rating: int = 750,
rating: int = -1,
character: int = 5,
character_uncapped: bool = False,
):

View File

@ -35,7 +35,7 @@ class AndrealImageGeneratorApiDataConverter:
"difficulty": score.rating_class,
"clear_type": score.clear_type or 1,
"best_clear_type": score.clear_type or 1,
"time_played": score.date or 0,
"time_played": score.date * 1000 if score.date else 0,
"near_count": score.far,
"miss_count": score.lost,
"perfect_count": score.pure,