fix: import AiJobModule in AppModule so AiJobCreationService is available
Some checks failed
Deploy API Server / build-and-unit (push) Successful in 35s
Deploy API Server / current-integration (push) Successful in 30s
Deploy API Server / backward-compat (push) Successful in 0s
Deploy API Server / m-ai-03-synthetic-e2e (push) Failing after 11s
Deploy API Server / deploy (push) Has been skipped
Some checks failed
Deploy API Server / build-and-unit (push) Successful in 35s
Deploy API Server / current-integration (push) Successful in 30s
Deploy API Server / backward-compat (push) Successful in 0s
Deploy API Server / m-ai-03-synthetic-e2e (push) Failing after 11s
Deploy API Server / deploy (push) Has been skipped
AiJobModule was defined but never imported into AppModule, so NestJS could not resolve AiJobCreationService in the DI container during E2E tests. Added the import — all dependencies (PrismaModule, AiRuntimeModule, AiModule) were already present in AppModule. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
afb90d690b
commit
c2d838ed96
@ -67,6 +67,7 @@ import { MaterialReadingProgressModule } from './modules/material-reading-progre
|
||||
import { LearningRecordModule } from './modules/learning-record/learning-record.module';
|
||||
import { TemporaryReadingMaterialModule } from './modules/temporary-reading-material/temporary-reading-material.module';
|
||||
import { AiRuntimeModule } from './modules/ai-runtime/ai-runtime.module';
|
||||
import { AiJobModule } from './modules/ai-job/ai-job.module';
|
||||
|
||||
import { JwtAuthGuard } from './common/guards/jwt-auth.guard';
|
||||
import { RolesGuard } from './common/guards/roles.guard';
|
||||
@ -176,6 +177,7 @@ import appleConfig from './config/apple.config';
|
||||
LearningRecordModule,
|
||||
TemporaryReadingMaterialModule,
|
||||
AiRuntimeModule,
|
||||
AiJobModule,
|
||||
],
|
||||
providers: [
|
||||
{ provide: APP_GUARD, useClass: RateLimitGuard },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user