mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
feat: rewrite repositories with base entity repository class.
feat: sales and purchases status. feat: sales and purchases auto-increment number. fix: settings find query with extra columns.
This commit is contained in:
@@ -69,7 +69,10 @@ export default class HasTenancyService {
|
||||
*/
|
||||
repositories(tenantId: number) {
|
||||
return this.singletonService(tenantId, 'repositories', () => {
|
||||
return tenantRepositoriesLoader(tenantId);
|
||||
const cache = this.cache(tenantId);
|
||||
const knex = this.knex(tenantId);
|
||||
|
||||
return tenantRepositoriesLoader(knex, cache);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user