fix(api): add AuthModule to OrchestratorModule — prevents AuthGuard DI crash
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
import { Module } from "@nestjs/common";
|
import { Module } from "@nestjs/common";
|
||||||
|
import { AuthModule } from "../auth/auth.module";
|
||||||
import { PrismaModule } from "../prisma/prisma.module";
|
import { PrismaModule } from "../prisma/prisma.module";
|
||||||
import { OrchestratorController } from "./orchestrator.controller";
|
import { OrchestratorController } from "./orchestrator.controller";
|
||||||
|
|
||||||
@Module({
|
@Module({
|
||||||
imports: [PrismaModule],
|
imports: [AuthModule, PrismaModule],
|
||||||
controllers: [OrchestratorController],
|
controllers: [OrchestratorController],
|
||||||
})
|
})
|
||||||
export class OrchestratorModule {}
|
export class OrchestratorModule {}
|
||||||
|
|||||||
Reference in New Issue
Block a user