feat(MED-122): update current user account loader

This commit is contained in:
2025-07-10 13:19:01 +03:00
parent bbcf0b6d83
commit 0a0b1f0dee
4 changed files with 14 additions and 25 deletions

View File

@@ -117,6 +117,7 @@ class AccountsApi {
*/
async getSubscription(accountId: string) {
const response = await this.client
.schema('medreport')
.from('subscriptions')
.select('*, items: subscription_items !inner (*)')
.eq('account_id', accountId)