mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-31 19:14:27 +01:00
fix: users can set their bio to a number
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user