diff --git a/src/structures/services/structures.service.ts b/src/structures/services/structures.service.ts index 48e219ae492831098e2b37ab36ca3f3f2b68ee92..acc58a041d3f8170a061ac30e84f744c61764f6e 100644 --- a/src/structures/services/structures.service.ts +++ b/src/structures/services/structures.service.ts @@ -1291,8 +1291,8 @@ export class StructuresService { structure.hasUserWithAppointmentDN = true; } } - // If user has job 'Conseiller numérique' ou 'Conseillère numérique' - if (owner.job && this.jobsService.isConseillerNumerique(owner.job.id)) { + // If user has job 'Conseiller numérique' or 'Conseillère numérique' + if (owner.job && this.jobsService.isConseillerNumerique(owner.job._id)) { conseillerNumFranceServices = true; } });