mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat: retrieve organization subscriptions list api.
feat: subscriptions reducers.
This commit is contained in:
@@ -100,7 +100,7 @@ export default class OrganizationService {
|
||||
this.logger.info('[organization] trying to list all organizations.', { user });
|
||||
|
||||
const { tenantRepository } = this.sysRepositories;
|
||||
const tenant = await tenantRepository.getByIdWithSubscriptions(user.tenantId);
|
||||
const tenant = await tenantRepository.getById(user.tenantId);
|
||||
|
||||
return [tenant];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user