File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/reva-api/modules/referential Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { prismaClient } from "../../../prisma/client" ;
2
2
3
- export const getCompetenceBlocsByCertificationIdV2 = async ( {
3
+ export const getCompetenceBlocsByCertificationId = async ( {
4
4
certificationId,
5
5
} : {
6
6
certificationId : string ;
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ import { getCertificationCompetenceBlocById } from "./features/getCertificationC
44
44
import { updateCertificationCompetenceBloc } from "./features/updateCertificationCompetenceBloc" ;
45
45
import { addCertification } from "./features/addCertification" ;
46
46
import { deleteCertificationCompetenceBloc } from "./features/deleteCertificationCompetenceBloc" ;
47
- import { getCompetenceBlocsByCertificationIdV2 } from "./features/getCompetenceBlocsByCertificationIdV2 " ;
47
+ import { getCompetenceBlocsByCertificationId } from "./features/getCompetenceBlocsByCertificationId " ;
48
48
import { getDomainsByCertificationId } from "./features/getDomainsByCertificationId" ;
49
49
import { getDomainsByFormacodes } from "./features/getDomainsByFormacodes" ;
50
50
import { createCertificationCompetenceBloc } from "./features/createCertificationCompetenceBloc" ;
@@ -69,7 +69,7 @@ const unsafeReferentialResolvers = {
69
69
rncpId : string ;
70
70
} ,
71
71
_payload : unknown ,
72
- ) => getCompetenceBlocsByCertificationIdV2 ( { certificationId } ) ,
72
+ ) => getCompetenceBlocsByCertificationId ( { certificationId } ) ,
73
73
domains : ( { id : certificationId } : { id : string } ) =>
74
74
getDomainsByCertificationId ( { certificationId } ) ,
75
75
} ,
You can’t perform that action at this time.
0 commit comments