Files
edr-platform/apps/edr-freight-api/src/modules/health/health.module.ts
Nathnael 0ac85ebc1f fix
2026-08-31 11:45:55 +00:00

17 lines
599 B
TypeScript

// health.module.ts
import { Module } from "@nestjs/common";
import { ChatModule } from "../chat/chat.module";
import { HealthController } from "./health.controller";
import { NotificationsModule } from "../notifications/notifications.module";
@Module({
// NotificationsModule exports the SMS/email clients; the readiness probe reads
// their broker connection state rather than opening a second connection.
// ChatModule exports MatrixClient for the MATRIX_ADMIN_TOKEN check.
imports: [NotificationsModule, ChatModule],
controllers: [HealthController],
})
export class HealthModule {}