File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/api-admin-users/src/createAdminUsers Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,16 @@ const createUserDataValidation = zod.object({
1111 // For example: packages/api-security-okta/src/createAdminUsersHooks.ts:13
1212 // In the future, we might want to rename this field to `idpId` or similar.
1313 email : zod . string ( ) ,
14- firstName : zod . string ( ) . min ( 1 ) . optional ( ) ,
15- lastName : zod . string ( ) . min ( 1 ) . optional ( ) ,
14+ firstName : zod . string ( ) . optional ( ) ,
15+ lastName : zod . string ( ) . optional ( ) ,
1616 avatar : zod . object ( { } ) . passthrough ( ) . optional ( )
1717} ) ;
1818
1919const updateUserDataValidation = zod . object ( {
2020 displayName : zod . string ( ) . min ( 1 ) . optional ( ) ,
2121 avatar : zod . object ( { } ) . passthrough ( ) . optional ( ) . nullable ( ) ,
22- firstName : zod . string ( ) . min ( 1 ) . optional ( ) ,
23- lastName : zod . string ( ) . min ( 1 ) . optional ( ) ,
22+ firstName : zod . string ( ) . optional ( ) ,
23+ lastName : zod . string ( ) . optional ( ) ,
2424 group : zod . string ( ) . optional ( ) ,
2525 team : zod . string ( ) . optional ( )
2626} ) ;
You can’t perform that action at this time.
0 commit comments