mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:01:09 +02:00
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:
parent
5b4b1282f8
commit
2a03a7ce41
1 changed files with 8 additions and 1 deletions
|
|
@ -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],
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue