Add CredentialsModule to MachinesModule imports

This change includes the CredentialsModule in the imports array of the MachinesModule. This integration ensures that machine-related operations have access to necessary credential services.
This commit is contained in:
Mathis H (Avnyr) 2024-10-08 13:26:10 +02:00
parent f72b7ad9cb
commit 392446fa06
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

View File

@ -2,9 +2,10 @@ import { Module } from "@nestjs/common";
import { DbModule } from "apps/backend/src/app/db/db.module"; import { DbModule } from "apps/backend/src/app/db/db.module";
import { MachinesController } from "apps/backend/src/app/machines/machines.controller"; import { MachinesController } from "apps/backend/src/app/machines/machines.controller";
import { MachinesService } from "apps/backend/src/app/machines/machines.service"; import { MachinesService } from "apps/backend/src/app/machines/machines.service";
import { CredentialsModule } from 'apps/backend/src/app/credentials/credentials.module';
@Module({ @Module({
imports: [DbModule], imports: [DbModule, CredentialsModule],
controllers: [MachinesController], controllers: [MachinesController],
providers: [MachinesService], providers: [MachinesService],
}) })