Add the display for unregister requests
Rename all ocurrences of uninscription to unregister Rework the uninscriptionRequest so we have an history and it doesn't take an user so better security
This commit is contained in:
@ -21,7 +21,7 @@ export async function editEquivalenceState(id, newstate){
|
||||
}
|
||||
|
||||
export async function addUninscReq(userId, reason){
|
||||
return restPost("/uninscriptionreq", {"userId" : userId, "reason" : reason})
|
||||
return restPost("/unregister", {"userId" : userId, "reason" : reason})
|
||||
}
|
||||
|
||||
export async function editScholarshipReq(body){
|
||||
@ -30,4 +30,8 @@ export async function editScholarshipReq(body){
|
||||
|
||||
export async function getScholarshipReqById(id){
|
||||
return restGet("/scholarshipreq/"+id)
|
||||
}
|
||||
|
||||
export async function getAllUnregisters(){
|
||||
return restGet("/unregister")
|
||||
}
|
Reference in New Issue
Block a user