no one cares.
All checks were successful
Deploy / deploy (push) Successful in 5m22s

This commit is contained in:
Lee 2024-10-02 11:02:39 +01:00
parent 9f13c2f66a
commit 6434809c5c

View File

@ -29,6 +29,7 @@ export function sortPlayerHistory(history: Map<string, PlayerHistory>) {
*/
export function getValueFromHistory(history: PlayerHistory, field: string): number | null {
const keys = field.split(".");
/* eslint-disable @typescript-eslint/no-explicit-any */
let value: any = history;
// Navigate through the keys safely