mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
feat: Clean up payment links endpoints
This commit is contained in:
@@ -50,7 +50,8 @@ export const injectI18nUtils = (req) => {
|
||||
export const initalizeTenantServices = async (tenantId: number) => {
|
||||
const tenant = await Tenant.query()
|
||||
.findById(tenantId)
|
||||
.withGraphFetched('metadata');
|
||||
.withGraphFetched('metadata')
|
||||
.throwIfNotFound();
|
||||
|
||||
const tenantServices = Container.get(TenancyService);
|
||||
const tenantsManager = Container.get(TenantsManagerService);
|
||||
|
||||
Reference in New Issue
Block a user