mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
feat: remove path alias.
feat: remove Webpack and depend on nodemon. feat: refactoring expenses. feat: optimize system users with caching. feat: architecture tenant optimize.
This commit is contained in:
8
server/src/loaders/tenantCache.ts
Normal file
8
server/src/loaders/tenantCache.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Container } from 'typedi';
|
||||
import Cache from 'services/Cache';
|
||||
|
||||
export default (tenantId: number) => {
|
||||
const cacheInstance = new Cache();
|
||||
|
||||
return cacheInstance;
|
||||
};
|
||||
Reference in New Issue
Block a user