mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
refactor(Profil endpoint): changes how the parameter is passed to the profil endpoint
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user