Add the management of changeCurriculum requests
This commit is contained in:
1 parent
c9556e1eea
commit
8a5a26e2ab
6 files changed
+207
-2
No files matched your search
@@ -50,4 +50,16 @@ export async function getAllPayments(){
|
||||
|
||||
export async function postChangeCurrReq(item){
|
||||
return restPost("/changecurriculumreq", item)
|
||||
}
|
||||
|
||||
export async function getAllChangeCurrReq(){
|
||||
return restGet("/changecurriculumreq")
|
||||
}
|
||||
|
||||
export async function getChangeCurrReqById(id){
|
||||
return restGet("/changecurriculumreq/"+id)
|
||||
}
|
||||
|
||||
export async function editChangeCurrReq(id, newState){
|
||||
return restPatch("/changecurriculumreq/"+id+"/"+newState)
|
||||
}
|
||||
Reference in new issue
Block a user