diff --git a/apps/core-rest-api/src/app/adapters/controllers/api/api.module.ts b/apps/core-rest-api/src/app/adapters/controllers/api/api.module.ts index e4a1114..9638543 100644 --- a/apps/core-rest-api/src/app/adapters/controllers/api/api.module.ts +++ b/apps/core-rest-api/src/app/adapters/controllers/api/api.module.ts @@ -24,6 +24,8 @@ import { NestjsDeletePsychologistService } from './use-cases/psychologist/delete import { NestjsUpdatePsychologistService } from './use-cases/psychologist/update-psychologist/nestjs-update-psychologist.service'; import { CreateAppointmentController } from './use-cases/appointment/create-appointment/create-appointment.controller'; +import { NestjsUpdateAppointmentService } from './use-cases/appointment/update-appointment/nestjs-update-appointment.service'; +import { UpdateAppointmentController } from './use-cases/appointment/update-appointment/update-appointment.controller'; import { CreateClinicController } from './use-cases/clinic/create-clinic/create-clinic.controller'; import { DeleteClinicController } from './use-cases/clinic/delete-clinic/delete-clinic.controller'; import { UpdateClinicController } from './use-cases/clinic/update-clinic/update-clinic.controller'; @@ -66,6 +68,7 @@ import { DeletePsychologistController } from './use-cases/psychologist/delete-ps DeletePatientAppointmentRegistryController, UpdatePatientAppointmentRegistryController, UpdatePatientController, + UpdateAppointmentController, ], providers: [ BcryptHasherService, @@ -84,6 +87,7 @@ import { DeletePsychologistController } from './use-cases/psychologist/delete-ps NestjsDeletePatientAppointmentRegistryService, NestjsUpdatePatientAppointmentRegistryService, NestjsUpdatePatientService, + NestjsUpdateAppointmentService ], }) export class ApiModule {}