mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
add server to monorepo.
This commit is contained in:
8
packages/server/src/loaders/tenantCache.ts
Normal file
8
packages/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