fix equipment table saving to use less space

This commit is contained in:
kittentm 2026-03-14 03:48:50 +01:00
commit 732f3849e8
No known key found for this signature in database
GPG key ID: AC43DFDBC1F44A91
2 changed files with 13 additions and 4 deletions

View file

@ -10,7 +10,7 @@ module.exports = {
create: async (data) => {
const result = await SplatfestResult.create(data);
await Equipment.create({
await Equipment.upsert({
PId: data.PId,
weapon: data.Weapon,
sumpaint: data.SumPaint