diff --git a/packages/backend/src/AppModule.ts b/packages/backend/src/RootModule.ts similarity index 91% rename from packages/backend/src/AppModule.ts rename to packages/backend/src/RootModule.ts index 76de8ca82a..3fc3927768 100644 --- a/packages/backend/src/AppModule.ts +++ b/packages/backend/src/RootModule.ts @@ -10,4 +10,4 @@ import { QueueProcessorModule } from '@/queue/QueueProcessorModule.js'; QueueProcessorModule, ], }) -export class AppModule {} +export class RootModule {} diff --git a/packages/backend/src/boot/worker.ts b/packages/backend/src/boot/worker.ts index 91f0c76317..1a5f1ee81a 100644 --- a/packages/backend/src/boot/worker.ts +++ b/packages/backend/src/boot/worker.ts @@ -4,13 +4,13 @@ import { envOption } from '@/env.js'; import { ChartManagementService } from '@/core/chart/ChartManagementService.js'; import { ServerService } from '@/server/ServerService.js'; import { QueueProcessorService } from '@/queue/QueueProcessorService.js'; -import { AppModule } from '../AppModule.js'; +import { RootModule } from '../RootModule.js'; /** * Init worker process */ export async function workerMain() { - const app = await NestFactory.createApplicationContext(AppModule); + const app = await NestFactory.createApplicationContext(RootModule); app.enableShutdownHooks(); // start server