This commit is contained in:
Kalle
2026-07-01 20:33:07 +03:00
parent 4d740dfe16
commit 36ebdff05d
2 changed files with 1 additions and 1 deletions

View File

@@ -37,7 +37,6 @@ export const action: ActionFunction = async ({ request }) => {
}
}
// xxx: just autovalidate and prevent input from the boundary
const isSupporter = Boolean(user.roles?.includes("SUPPORTER"));
await UserCardRepository.updateOwnCard({

View File

@@ -31,6 +31,7 @@ export const updateUserCardSchema = z.object({
bannerImage: image({
label: "labels.bannerImage",
dimensions: "thick-banner",
autoValidate: true,
}),
unverifiedXpPoints: numberFieldOptional({ label: "labels.unverifiedXp" }),
unverifiedXpDivision: select({