mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
fixes bug when getting all the profil update requests and makes it possible to add a message when dening or accepting a profil update
This commit is contained in:
@@ -7,14 +7,14 @@ export default {
|
||||
return axios.get(url);
|
||||
},
|
||||
|
||||
acceptProfilRequest: function(requestID){
|
||||
acceptProfilRequest: function(payload){
|
||||
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root + FHC_JS_DATA_STORAGE_OBJECT.ci_router + '/Cis/ProfilUpdate/acceptProfilRequest';
|
||||
return axios.post(url,{requestID: requestID});
|
||||
return axios.post(url,payload);
|
||||
},
|
||||
|
||||
denyProfilRequest: function(requestID){
|
||||
denyProfilRequest: function(payload){
|
||||
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root + FHC_JS_DATA_STORAGE_OBJECT.ci_router + '/Cis/ProfilUpdate/denyProfilRequest';
|
||||
return axios.post(url,{requestID: requestID});
|
||||
return axios.post(url,payload);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user