gg
Deploy Iddaai Backend / build-and-deploy (push) Successful in 1m8s

This commit is contained in:
2026-05-12 03:06:54 +03:00
parent b6d64b59bf
commit 2b8dce665f
7 changed files with 77 additions and 48 deletions
+2 -3
View File
@@ -122,9 +122,8 @@ export const FINISHED_STATE_VALUES_FOR_DB = [
];
function normalizeToken(value: unknown): string {
return String(value || "")
.trim()
.toLowerCase();
if (typeof value !== "string") return "";
return value.trim().toLowerCase();
}
function parseScoreValue(value: ScoreLikeValue): number | null {