From 6c82ac7dbddefd2d1fd706724cfdd2e68b1e2671 Mon Sep 17 00:00:00 2001 From: Andrew Radulescu Date: Fri, 5 Jul 2024 12:44:46 +0300 Subject: [PATCH] wip: fix broken cache manager --- backend/src/app.module.ts | 2 +- backend/src/shared/controllers/nomenclatures.controller.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/src/app.module.ts b/backend/src/app.module.ts index 6daa9c350..92ec9850d 100644 --- a/backend/src/app.module.ts +++ b/backend/src/app.module.ts @@ -40,7 +40,7 @@ import { NotificationsModule } from './modules/notifications/notifications.modul // Providers DatabaseProviderModule, - CacheProviderModule, + // CacheProviderModule, QueueProviderModule, // Business modules diff --git a/backend/src/shared/controllers/nomenclatures.controller.ts b/backend/src/shared/controllers/nomenclatures.controller.ts index 4a3baadbc..b6989def7 100644 --- a/backend/src/shared/controllers/nomenclatures.controller.ts +++ b/backend/src/shared/controllers/nomenclatures.controller.ts @@ -13,7 +13,8 @@ import { NomenclaturesService } from '../services'; import { CacheInterceptor } from '@nestjs/cache-manager'; @Public() -@UseInterceptors(ClassSerializerInterceptor, CacheInterceptor) +// @UseInterceptors(ClassSerializerInterceptor, CacheInterceptor) +@UseInterceptors(ClassSerializerInterceptor) @Controller('nomenclatures') export class NomenclaturesController { constructor(private nomenclaturesService: NomenclaturesService) {}