From 3c42f8eaa5b9626ab63c88aab9fbd1cb1228a5d0 Mon Sep 17 00:00:00 2001 From: mahendar Date: Thu, 9 Jan 2025 10:00:31 +0530 Subject: [PATCH] removed unwanted code --- src/components/Users/CreateUserForm.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/Users/CreateUserForm.tsx b/src/components/Users/CreateUserForm.tsx index 13a93a64eb1..31dc40db6b7 100644 --- a/src/components/Users/CreateUserForm.tsx +++ b/src/components/Users/CreateUserForm.tsx @@ -125,7 +125,6 @@ export default function CreateUserForm({ onSubmitSuccess }: Props) { } = await request(UserApi.create, { body: { ...data, - email: "invalid-email-format", // Omit c_password as it's not needed in the API c_password: undefined, } as unknown as UserBase,