refactor(Profil endpoint): changes how the parameter is passed to the profil endpoint

This commit is contained in:
SimonGschnell
2025-07-11 11:01:18 +02:00
parent c2cc1c5870
commit 75a93523e0
2 changed files with 12 additions and 534 deletions
+6 -7
View File
@@ -16,16 +16,15 @@
*/
export default {
getView(uid) {
return {
method: 'get',
url: `/api/frontend/v1/Profil/getView/${uid}`
};
},
profilViewData(uid) {
let url = "/api/frontend/v1/Profil/profilViewData";
if(uid){
url += `/${uid}`;
}
return {
method: 'get',
url: `/api/frontend/v1/Profil/profilViewData/${uid}`
url: url
};
},
fotoSperre(value) {