adds getTopic to the new ProfilUpdate FhcAPIController

This commit is contained in:
SimonGschnell
2024-07-18 10:40:30 +02:00
parent 885315c22b
commit 328a46f16d
3 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ export default {
return this.$fhcApi.get(
FHC_JS_DATA_STORAGE_OBJECT.app_root +
FHC_JS_DATA_STORAGE_OBJECT.ci_router +
`/Cis/ProfilUpdate/getTopic`,{});
`/api/frontend/v1/ProfilUpdate/getTopic`,{});
},
getProfilUpdateRequest: function () {
+1 -2
View File
@@ -358,14 +358,13 @@ const profilApp = Vue.createApp({
await this.$fhcApi.factory.profilUpdate.getStatus()
.then((response) => {
console.log(response.data,"this is the response when we set the status")
this.profilUpdateStates = response.data;
})
.catch((error) => {
console.error(error);
});
Vue.$fhcapi.ProfilUpdate.getTopic()
this.$fhcApi.factory.profilUpdate.getTopic()
.then((response) => {
this.profilUpdateTopic = response.data;
})