Add the gestion of scholarshipRequest (accept and refuse and select the amount)
This commit is contained in:
@ -22,4 +22,12 @@ export async function editEquivalenceState(id, newstate){
|
||||
|
||||
export async function addUninscReq(userId, reason){
|
||||
return restPost("/uninscriptionreq", {"userId" : userId, "reason" : reason})
|
||||
}
|
||||
|
||||
export async function editScholarshipReq(body){
|
||||
return restPatch("/scholarshipreq/", body)
|
||||
}
|
||||
|
||||
export async function getScholarshipReqById(id){
|
||||
return restGet("/scholarshipreq/"+id)
|
||||
}
|
Reference in New Issue
Block a user