Skip to content

Commit

Permalink
Ensure reqs columns default to null
Browse files Browse the repository at this point in the history
  • Loading branch information
mia-pi-git committed Oct 27, 2024
1 parent 72661ec commit f6661b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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};
},
Expand Down

0 comments on commit f6661b4

Please sign in to comment.