mirror of
https://github.com/smogon/pokemon-showdown-loginserver.git
synced 2026-03-21 17:34:38 -05:00
Ensure reqs columns default to null
This commit is contained in:
parent
72661ecf4a
commit
f6661b465d
|
|
@ -1068,9 +1068,9 @@ export const actions: {[k: string]: QueryHandler} = {
|
|||
await tables.suspects.replace({
|
||||
formatid: id,
|
||||
start_date: time(),
|
||||
elo: reqs.elo,
|
||||
gxe: reqs.gxe,
|
||||
coil: reqs.coil,
|
||||
elo: reqs.elo || null,
|
||||
gxe: reqs.gxe || null,
|
||||
coil: reqs.coil || null,
|
||||
});
|
||||
return {success: true};
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user