meow
All checks were successful
Deploy / deploy (push) Successful in 3m11s

This commit is contained in:
Lee 2024-09-28 08:00:41 +01:00
parent b271160db5
commit 0b87f36ded

View File

@ -132,7 +132,9 @@ export async function getScoreSaberPlayerFromToken(
// Calculate the pp change
const ppChange =
todayStats.pp && yesterdayStats.pp ? todayStats.pp - yesterdayStats.pp : 0;
todayStats && yesterdayStats && todayStats.pp && yesterdayStats.pp
? todayStats.pp - yesterdayStats.pp
: 0;
return {
id: token.id,