don't log unless needed
All checks were successful
Deploy Backend / deploy (push) Successful in 2m20s
Deploy Website / deploy (push) Successful in 3m27s

This commit is contained in:
Lee 2024-10-11 21:38:30 +01:00
parent 6cd141544c
commit 6ae69c2fec

View File

@ -147,7 +147,7 @@ export async function getScoreSaberPlayerFromToken(
};
}
}
if (missingDays > 0) {
if (missingDays > 0 && missingDays != playerRankHistory.length) {
console.log(
`Player has ${missingDays} missing day${missingDays > 1 ? "s" : ""}, filling in with fallback history...`
);