feat(MED-85): create customer group for company account in Medusa

This commit is contained in:
2025-08-25 11:51:12 +03:00
parent 5108087cc5
commit 89d6035151
8 changed files with 109 additions and 4 deletions

View File

@@ -37,4 +37,15 @@ class AdminAccountsService {
throw error;
}
}
async getAccount(accountId: string) {
const { data } = await this.adminClient
.schema('medreport')
.from('accounts')
.select('*')
.eq('id', accountId)
.single().throwOnError();
return data;
}
}