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