mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
fix: users can set their bio to a number
This commit is contained in:
parent
324ee58bd0
commit
0a7c0c60a9
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ const accountStatusesController: AppController = async (c) => {
|
|||
|
||||
const updateCredentialsSchema = z.object({
|
||||
display_name: z.string().optional(),
|
||||
note: z.string().optional(),
|
||||
note: z.coerce.string().optional(),
|
||||
avatar: fileSchema.or(z.literal('')).optional(),
|
||||
header: fileSchema.or(z.literal('')).optional(),
|
||||
locked: z.boolean().optional(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue