260320:1210 Refactor Overrall #06 failed to start due to missing CACHE_MANAGER dependency.
Build and Deploy / deploy (push) Successful in 10m42s

This commit is contained in:
admin
2026-03-20 12:10:53 +07:00
parent 5e8a298140
commit 620901dfcb
3 changed files with 9 additions and 5 deletions
+1 -5
View File
@@ -3,7 +3,6 @@
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CacheModule } from '@nestjs/cache-manager';
import { UserService } from './user.service';
import { UserController } from './user.controller';
@@ -27,10 +26,7 @@ import { Permission } from './entities/permission.entity';
Role,
Permission,
]),
// Add CacheModule for CACHE_MANAGER provider
CacheModule.register({
isGlobal: false, // Keep it local to this module
}),
// CacheModule is now global (from AppModule)
],
controllers: [UserController],
providers: [