diff --git a/packages/features/team-accounts/src/server/api.ts b/packages/features/team-accounts/src/server/api.ts index 0037ab767..f57ad90c0 100644 --- a/packages/features/team-accounts/src/server/api.ts +++ b/packages/features/team-accounts/src/server/api.ts @@ -56,7 +56,7 @@ export class TeamAccountsApi { async getSubscription(accountId: string) { const { data, error } = await this.client .from('subscriptions') - .select('*') + .select('*, items: subscription_items !inner (*)') .eq('account_id', accountId) .maybeSingle();