diff --git a/apps/edr-freight-api/src/app.module.ts b/apps/edr-freight-api/src/app.module.ts index d1c6d2355..1a356cc82 100644 --- a/apps/edr-freight-api/src/app.module.ts +++ b/apps/edr-freight-api/src/app.module.ts @@ -17,6 +17,8 @@ import { BillingModule } from "./modules/billing/billing.module"; import { NotificationsModule } from "./modules/notifications/notifications.module"; import { FileUploadSettingsModule } from "./modules/file-upload-settings/file-upload-settings.module"; import { DropdownSettingsModule } from "./modules/dropdown-settings/dropdown-settings.module"; +import { BackofficeModule } from "./modules/backoffice/backoffice.module"; +import { EdrOrgSeeder } from "./seed/edr-org.seeder"; @Module({ @@ -49,11 +51,11 @@ import { DropdownSettingsModule } from "./modules/dropdown-settings/dropdown-set export class AppModule implements OnApplicationBootstrap { constructor( private readonly seeder: DataSeeder, - + private readonly edrOrgSeeder: EdrOrgSeeder, ) {} async onApplicationBootstrap() { await this.seeder.run(); - + await this.edrOrgSeeder.run(); } }