Refactor billing services with new AccountsApi
The billing services have been refactored to use the new AccountsApi and TeamAccountsApi. All methods that were previously defined in each billing service, including getting customer ID, getting permissions, etc., have been transferred to these APIs. This change improves the modularity and organization of the code.
This commit is contained in:
@@ -11,8 +11,8 @@ import {
|
||||
SidebarItem,
|
||||
} from '@kit/ui/sidebar';
|
||||
|
||||
import { ProfileAccountDropdownContainer } from '~/(dashboard)/home/_components/personal-account-dropdown-container';
|
||||
import { AppLogo } from '~/components/app-logo';
|
||||
import { ProfileAccountDropdownContainer } from '~/components/personal-account-dropdown-container';
|
||||
|
||||
export async function AdminSidebar() {
|
||||
const client = getSupabaseServerActionClient();
|
||||
|
||||
Reference in New Issue
Block a user