adds insertProfilRequest to the new ProfilUpdate FhcAPIController

This commit is contained in:
SimonGschnell
2024-07-19 14:00:40 +02:00
parent a06f9b581f
commit 12626511e9
4 changed files with 166 additions and 18 deletions
+8 -8
View File
@@ -75,16 +75,16 @@ export default {
//TODO post request
insertProfilRequest: function (topic, payload, fileID = null) {
const url =
return this.$fhcApi.post(
FHC_JS_DATA_STORAGE_OBJECT.app_root +
FHC_JS_DATA_STORAGE_OBJECT.ci_router +
`/Cis/ProfilUpdate/insertProfilRequest`;
return axios.post(url, {
topic,
payload,
...(fileID ? { fileID: fileID } : {}),
});
"/api/frontend/v1/ProfilUpdate/insertProfilRequest",
{
topic,
payload,
...(fileID ? { fileID } : {}),
});
},
//TODO post request