mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
Fix module for in-mem-cache
This commit is contained in:
parent
a7ac694658
commit
ff1e145359
1 changed files with 3 additions and 3 deletions
|
|
@ -3,12 +3,12 @@ import { DynamicModule } from '@nestjs/common';
|
|||
|
||||
export class InMemoryCacheModule extends SubModule {
|
||||
static async register(configs?: { IS_GET_CONTEXT: boolean }): Promise<DynamicModule> {
|
||||
const { InMemoryCacheService } = await this.getProviders(configs, 'inMemoryCache', ['in-memory-cache.service.ts']);
|
||||
const { InMemoryCacheService } = await this.getProviders(configs, 'inMemoryCache', ['in-memory-cache.service']);
|
||||
|
||||
return {
|
||||
module: InMemoryCacheService,
|
||||
module: InMemoryCacheModule,
|
||||
controllers: [],
|
||||
providers: [],
|
||||
providers: [InMemoryCacheService],
|
||||
exports: [InMemoryCacheService],
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue