@@ -32,6 +32,7 @@ import { getCandidacyCountByStatus } from "./features/getCandidacyCountByStatus"
32
32
import { getCandidacyDropOutByCandidacyId } from "./features/getCandidacyDropOutByCandidacyId" ;
33
33
import { getCandidacyFinancingMethodById } from "./features/getCandidacyFinancingMethodById" ;
34
34
import { getCandidacyGoals } from "./features/getCandidacyGoals" ;
35
+ import { getCandidacyIsCaduque } from "./features/getCandidacyIsCaduque" ;
35
36
import { getCandidacyOnCandidacyFinancingMethodsByCandidacyId } from "./features/getCandidacyOnCandidacyFinancingMethodsByCandidacyId" ;
36
37
import { getCandidacyStatusesByCandidacyId } from "./features/getCandidacyStatusesByCandidacyId" ;
37
38
import { getDropOutReasonById } from "./features/getDropOutReasonById" ;
@@ -57,7 +58,6 @@ import {
57
58
sendCandidacyDropOutEmailToCertificateur ,
58
59
} from "./mails" ;
59
60
import { resolversSecurityMap } from "./security/security" ;
60
- import { getCandidacyIsObsolete } from "./features/getCandidacyIsObsolete" ;
61
61
62
62
const unsafeResolvers = {
63
63
Candidacy : {
@@ -84,8 +84,8 @@ const unsafeResolvers = {
84
84
getCandidacyDropOutByCandidacyId ( { candidacyId } ) ,
85
85
candidacyOnCandidacyFinancingMethods : ( { id : candidacyId } : Candidacy ) =>
86
86
getCandidacyOnCandidacyFinancingMethodsByCandidacyId ( { candidacyId } ) ,
87
- isObsolete : ( { id : candidacyId } : Candidacy ) =>
88
- getCandidacyIsObsolete ( { candidacyId } ) ,
87
+ isCaduque : ( { id : candidacyId } : Candidacy ) =>
88
+ getCandidacyIsCaduque ( { candidacyId } ) ,
89
89
} ,
90
90
CandidacyOnCandidacyFinancingMethod : {
91
91
candidacyFinancingMethod : ( {
0 commit comments