fixed lint issues
This commit is contained in:
parent
b67fe48f72
commit
519d24722e
12 changed files with 54 additions and 46 deletions
|
|
@ -32,7 +32,7 @@ export function registerApplicationServices(
|
|||
if (config.proxy && config.redis.enabled) {
|
||||
container.register({
|
||||
proxyManager: asFunction(({ cache, logger }) => {
|
||||
if (!cache) return null;
|
||||
if (!cache) {return null;}
|
||||
|
||||
const proxyCache = new NamespacedCache(cache, 'proxy');
|
||||
const proxyManager = new ProxyManager(proxyCache, config.proxy, logger);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue