mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: update role and validation handling across multiple pages
This commit is contained in:
@@ -58,7 +58,7 @@ export const AddUser = () => {
|
||||
const onSubmit = async (data: AddUser) => {
|
||||
const result = await authClient.organization.inviteMember({
|
||||
email: data.email.toLowerCase(),
|
||||
role: "user",
|
||||
role: "member",
|
||||
organizationId: activeOrganization?.id,
|
||||
});
|
||||
console.log(result);
|
||||
|
||||
Reference in New Issue
Block a user