1
0
forked from PGL/Clyde

Rework the profile page

Add the accept/refuse for unreg request
This commit is contained in:
2024-04-17 08:53:28 +02:00
parent c434b28fe3
commit caa39696d2
17 changed files with 300 additions and 64 deletions

View File

@ -34,4 +34,16 @@ export async function getScholarshipReqById(id){
export async function getAllUnregisters(){
return restGet("/unregister")
}
export async function getUnregisterbyId(id){
return restGet("/unregister/"+id)
}
export async function editUnregReq(id, newstate){
return restPatch("/unregister/"+id+"/"+newstate)
}
export async function getAllPayments(){
return restGet("/payment")
}