Update database types and relationships
The commit removes semicolons at the ends of lines and makes updates to the Database object in the `database.types.ts` file. This better aligns the syntax with TypeScript norms. It also affects many database relationships, including but not limited to `Accounts`, `Roles`, and `Subscriptions`.
This commit is contained in:
@@ -20,7 +20,7 @@ import pathsConfig from '~/config/paths.config';
|
||||
export const loadTeamWorkspace = cache(async (accountSlug: string) => {
|
||||
const client = getSupabaseServerComponentClient();
|
||||
|
||||
const accountPromise = client.rpc('organization_account_workspace', {
|
||||
const accountPromise = client.rpc('team_account_workspace', {
|
||||
account_slug: accountSlug,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user