This commit is contained in:
parent
487d0dc7b2
commit
d1f5c4c1d6
@ -118,12 +118,11 @@ export async function getScoreSaberPlayerFromToken(
|
||||
rank: rank,
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
// Sort the fallback history
|
||||
statisticHistory = Object.entries(statisticHistory)
|
||||
.sort()
|
||||
.reduce((obj, [key, value]) => ({ ...obj, [key]: value }), {});
|
||||
}
|
||||
const yesterdayDate = formatDateMinimal(
|
||||
getMidnightAlignedDate(getDaysAgoDate(1)),
|
||||
);
|
||||
|
Reference in New Issue
Block a user