mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-07 04:22:16 +00:00
fix: profile firstName field not updating
The profile form was sending `name` field but the database column is `firstName`. This caused the firstName to be silently ignored during updates. Changed form field and API schema to use `firstName` to match the database column.
This commit is contained in:
@@ -214,6 +214,6 @@ export const apiUpdateUser = createSchema.partial().extend({
|
||||
.optional(),
|
||||
password: z.string().optional(),
|
||||
currentPassword: z.string().optional(),
|
||||
name: z.string().optional(),
|
||||
firstName: z.string().optional(),
|
||||
lastName: z.string().optional(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user