lint
This commit is contained in:
@@ -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 {
|
||||
};
|
||||
},
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
},
|
||||
},
|
||||
});
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user