Added ability for users to update their password. Minor tidy up.
This commit is contained in:
@@ -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}`
|
||||
|
||||
Reference in New Issue
Block a user