mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-11 05:36:10 -05:00
Fix
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user