|
@ -1,4 +1,3 @@ |
|
|
import { CacheService } from '@ghostfolio/api/app/cache/cache.service'; |
|
|
|
|
|
import { RedisCacheModule } from '@ghostfolio/api/app/redis-cache/redis-cache.module'; |
|
|
import { RedisCacheModule } from '@ghostfolio/api/app/redis-cache/redis-cache.module'; |
|
|
import { ConfigurationModule } from '@ghostfolio/api/services/configuration.module'; |
|
|
import { ConfigurationModule } from '@ghostfolio/api/services/configuration.module'; |
|
|
import { DataGatheringModule } from '@ghostfolio/api/services/data-gathering.module'; |
|
|
import { DataGatheringModule } from '@ghostfolio/api/services/data-gathering.module'; |
|
@ -11,7 +10,6 @@ import { Module } from '@nestjs/common'; |
|
|
import { CacheController } from './cache.controller'; |
|
|
import { CacheController } from './cache.controller'; |
|
|
|
|
|
|
|
|
@Module({ |
|
|
@Module({ |
|
|
exports: [CacheService], |
|
|
|
|
|
controllers: [CacheController], |
|
|
controllers: [CacheController], |
|
|
imports: [ |
|
|
imports: [ |
|
|
ConfigurationModule, |
|
|
ConfigurationModule, |
|
@ -21,7 +19,6 @@ import { CacheController } from './cache.controller'; |
|
|
PrismaModule, |
|
|
PrismaModule, |
|
|
RedisCacheModule, |
|
|
RedisCacheModule, |
|
|
SymbolProfileModule |
|
|
SymbolProfileModule |
|
|
], |
|
|
] |
|
|
providers: [CacheService] |
|
|
|
|
|
}) |
|
|
}) |
|
|
export class CacheModule {} |
|
|
export class CacheModule {} |
|
|