mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
fix: system repositories.
This commit is contained in:
@@ -41,7 +41,7 @@ export default class SubscriptionService {
|
||||
const { tenantRepository } = this.sysRepositories;
|
||||
|
||||
const plan = await Plan.query().findOne('slug', planSlug);
|
||||
const tenant = await tenantRepository.getById(tenantId);
|
||||
const tenant = await tenantRepository.findOneById(tenantId);
|
||||
|
||||
const paymentViaLicense = new LicensePaymentMethod();
|
||||
const paymentContext = new PaymentContext(paymentViaLicense);
|
||||
|
||||
Reference in New Issue
Block a user