api: make log less fat
Some checks failed
Deploy API / docker (17, 3.8.5) (push) Failing after 1m8s

This commit is contained in:
Lee 2024-08-04 01:34:19 +01:00
parent de309ea05c
commit 8c354b1be1

View File

@ -257,7 +257,7 @@ public class ScoreService {
score.getId(),
MathUtils.format(score.getAccuracy(), 2),
platformName.toLowerCase(), score.getPlatformScoreId(),
isRanked ? " pp: %s,".formatted(score.getPp()) : "",
isRanked ? " pp: %s,".formatted(MathUtils.format(score.getPp(), 2)) : "",
score.getLeaderboardId(),
leaderboard.getDifficulty().getDifficulty(),
user.getUsername() == null ? user.getSteamId() : user.getUsername(),