fix(matrix-mana-bot): import service modules in OrchestrationModule

AiService, TodoService, and CalendarService require their modules
to be imported for dependency injection to work.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-02-01 03:41:13 +01:00
parent 5b4b1282f8
commit 2a03a7ce41

View file

@ -1,9 +1,16 @@
import { Module, forwardRef } from '@nestjs/common';
import { OrchestrationService } from './orchestration.service';
import { BotModule } from '../bot/bot.module';
import { AiModule, TodoModule, CalendarModule } from '@manacore/bot-services';
@Module({
imports: [forwardRef(() => BotModule)],
imports: [
forwardRef(() => BotModule),
// Import service modules so their services are available
AiModule,
TodoModule,
CalendarModule,
],
providers: [OrchestrationService],
exports: [OrchestrationService],
})