This commit is contained in:
2025-12-13 11:14:18 +03:30
parent 3eb6b889a4
commit c25a5afe01
80 changed files with 440 additions and 190 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ export function cacheConfig(): CacheModuleAsyncOptions {
keyvRedisStore.client.on('connect', () => {
logger.log('✅ Redis connected successfully.');
});
keyvRedisStore.client.on('error', (error) => {
keyvRedisStore.client.on('error', error => {
logger.error('❌ Redis connection error:', error);
});
@@ -40,4 +40,4 @@ export function cacheConfig(): CacheModuleAsyncOptions {
};
},
};
}
}
+2 -2
View File
@@ -29,7 +29,7 @@ const dataBaseConfig: MikroOrmModuleAsyncOptions = {
const encodedPassword = encodeURIComponent(DB_PASS);
const isProduction = configService.getOrThrow<string>('NODE_ENV') === 'production';
return ({
return {
// entities: ['dist/**/*.entity.js'],
entitiesTs: ['src/**/*.entity.ts'],
driver: PostgreSqlDriver,
@@ -102,7 +102,7 @@ const dataBaseConfig: MikroOrmModuleAsyncOptions = {
return false;
},
},
});
};
},
};