On accept

  • Parameters

    • organization: Pick<
          IFrontOrganizationsItem,
          "id"
          | "owners"
          | "pendingowners"
          | "users"
          | "pendingusers",
      >

      Organization

    • user: Pick<IFrontUser, "id">

      User

    • swr: {
          mutateOneOrganization: (
              organization: IFrontMutateOrganizationsItem,
          ) => Promise<void>;
      }

      SWR

    Returns Promise<void>