Added ability for users to update their password. Minor tidy up.

This commit is contained in:
jd
2026-02-23 20:48:52 +00:00
parent 872a79663b
commit df60ad4552
5 changed files with 73 additions and 65 deletions

View File

@@ -189,7 +189,7 @@ export class MatchOrm {
const player = await orm.players.get(playerId);
sql.transaction(async (tx) => {
await sql.transaction(async (tx) => {
const eloRefund = parseInt(
(
await tx`SELECT elo_change FROM public.match_players WHERE match_id=${matchId.raw} AND player_id = ${playerId.raw}`