fix(leaderboard): misuse of nullable() for totalScore User validator

This commit is contained in:
danis
2023-12-01 14:05:02 +01:00
parent df682327d6
commit 347c075ab1

View File

@@ -18,7 +18,7 @@ export const UserValidator = yup
googleID: yup.string().required().nullable(),
isGuest: yup.boolean().required(),
partyPlayed: yup.number().required(),
totalScore: yup.number().required().nullable(),
totalScore: yup.number().required(),
})
.concat(ModelValidator);