From fb1b80e727d9b546638b0305b7140e1839ff7500 Mon Sep 17 00:00:00 2001 From: hwgilbert16 Date: Sun, 7 Jul 2024 13:31:36 -0400 Subject: [PATCH] fix(api): fix failing redis connection when deploying using compose --- apps/api/src/app/app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/app.module.ts b/apps/api/src/app/app.module.ts index 9f54e797..7fde688e 100644 --- a/apps/api/src/app/app.module.ts +++ b/apps/api/src/app/app.module.ts @@ -66,7 +66,7 @@ import { TasksService } from "./providers/tasks.service"; RedisModule.forRootAsync({ inject: [ConfigService], useFactory: (configService: ConfigService) => ({ - defaultOptions: { + commonOptions: { host: configService.get("REDIS_HOST"), port: configService.get("REDIS_PORT"), username: configService.get("REDIS_USERNAME"),