Skip to content

Commit f713d38

Browse files
committed
fix user profile form validation
1 parent efe617e commit f713d38

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

web/src/pages/user-profile/UserProfilePage/tabs/ProfileDetailsTab/components/ProfileGeneralCard/ProfileGeneralCard.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ const zodSchema = z.object({
5151
z.object({
5252
oauth2client_id: z.number().min(1, m.form_error_required()),
5353
oauth2client_name: z.string().trim().min(1, m.form_error_required()),
54-
user_id: z.number().min(1, m.form_error_required()),
5554
}),
5655
),
5756
is_active: z.boolean(),

web/src/shared/api/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@ export type UserMfaMethodValue = (typeof UserMfaMethod)[keyof typeof UserMfaMeth
275275
export interface OAuth2AuthorizedApps {
276276
oauth2client_id: number;
277277
oauth2client_name: string;
278-
user_id: number;
279278
}
280279

281280
export interface User {

0 commit comments

Comments
 (0)