Skip to content

Commit

Permalink
importing moduls instead of providing services
Browse files Browse the repository at this point in the history
delete PersonService and OrganizerService and add PersonModule and OrganizersModule to campaign-application module
  • Loading branch information
Martbul committed Jul 17, 2024
1 parent 33777b4 commit b16e032
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { Module } from '@nestjs/common'
import { CampaignApplicationService } from './campaign-application.service'
import { CampaignApplicationController } from './campaign-application.controller'
import { PrismaModule } from '../prisma/prisma.module'
import { PersonService } from '../person/person.service'
import { OrganizerService } from '../organizer/organizer.service'
import { PersonModule } from '../person/person.module'
import { OrganizerModule } from '../organizer/organizer.module'
@Module({
imports: [PrismaModule],
imports: [PrismaModule, PersonModule, OrganizerModule],
controllers: [CampaignApplicationController],
providers: [CampaignApplicationService, PersonService, OrganizerService],
providers: [CampaignApplicationService],
})
export class CampaignApplicationModule {}

0 comments on commit b16e032

Please sign in to comment.