this is a test dw
This commit is contained in:
@ -53,18 +53,4 @@ export async function getSomeonesCurriculumList(user){
|
||||
return restGet("/onescurriculum/"+user)
|
||||
}
|
||||
|
||||
export async function createExternalCurriculum(inscriptionRequestId,school, formation, completion, startYear, endYear, justifdocUrl){
|
||||
return restPost("/externalcurriculum", {
|
||||
inscriptionRequestId: inscriptionRequestId,
|
||||
school:school,
|
||||
formation :formation,
|
||||
completion : completion,
|
||||
startYear : startYear,
|
||||
endYear: endYear,
|
||||
justifdocUrl : justifdocUrl
|
||||
})
|
||||
}
|
||||
|
||||
export async function getExternalCurriculumListByInscrReq(inscriptionRequestId){
|
||||
return restGet("/externalCurriculum/"+parseInt(inscriptionRequestId))
|
||||
}
|
||||
|
17
frontend/src/rest/externalCurriculum.js
Normal file
17
frontend/src/rest/externalCurriculum.js
Normal file
@ -0,0 +1,17 @@
|
||||
import {restGet, restPost} from "@/rest/restConsumer.js";
|
||||
|
||||
export async function createExternalCurriculum(inscriptionRequestId,school, formation, completion, startYear, endYear, justifdocUrl){
|
||||
return restPost("/externalcurriculum", {
|
||||
inscriptionRequestId: inscriptionRequestId,
|
||||
school:school,
|
||||
formation :formation,
|
||||
completion : completion,
|
||||
startYear : startYear,
|
||||
endYear: endYear,
|
||||
justifdocUrl : justifdocUrl
|
||||
})
|
||||
}
|
||||
|
||||
export async function getExternalCurriculumListByInscrReq(inscriptionRequestId){
|
||||
return restGet("/externalCurriculum/"+parseInt(inscriptionRequestId))
|
||||
}
|
Reference in New Issue
Block a user