Rely on actorOrgId for group orgId refs

This commit is contained in:
Tuan Dang
2024-03-28 17:00:33 -07:00
parent bf13b81c0f
commit 8afecac7d8
6 changed files with 81 additions and 49 deletions
@@ -12,7 +12,6 @@ export const useCreateGroup = () => {
mutationFn: async ({
name,
slug,
organizationId,
role
}: {
name: string;
@@ -25,7 +24,6 @@ export const useCreateGroup = () => {
} = await apiRequest.post<TGroup>("/api/v1/groups", {
name,
slug,
organizationId,
role
});