Skip to content

Commit

Permalink
remove LegacyschoolModule from UserModule
Browse files Browse the repository at this point in the history
  • Loading branch information
Metauriel committed Oct 30, 2024
1 parent ccc3e23 commit a6a681d
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions apps/server/src/modules/user/user.module.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
import { LegacySchoolModule } from '@modules/legacy-school';
import { CalendarModule } from '@infra/calendar';
import { RegistrationPinModule } from '@modules/registration-pin';
import { RoleModule } from '@modules/role';
import { forwardRef, Module } from '@nestjs/common';
import { Module } from '@nestjs/common';
import { CqrsModule } from '@nestjs/cqrs';
import { UserRepo } from '@shared/repo';
import { UserDORepo } from '@shared/repo/user/user-do.repo';
import { LoggerModule } from '@src/core/logger';
import { CqrsModule } from '@nestjs/cqrs';
import { RegistrationPinModule } from '@modules/registration-pin';
import { CalendarModule } from '@infra/calendar';
import { UserService } from './service';

@Module({
imports: [
forwardRef(() => LegacySchoolModule),
RoleModule,
LoggerModule,
CqrsModule,
RegistrationPinModule,
CalendarModule,
],
imports: [RoleModule, LoggerModule, CqrsModule, RegistrationPinModule, CalendarModule],
providers: [UserRepo, UserDORepo, UserService],
exports: [UserService, UserRepo],
})
Expand Down

0 comments on commit a6a681d

Please sign in to comment.