- Pagina MySkills personale

This commit is contained in:
paoloar77
2022-01-26 01:31:07 +01:00
parent d3eee69aa7
commit 5842fa69e1
23 changed files with 478 additions and 71 deletions

View File

@@ -857,6 +857,20 @@ export const useUserStore = defineStore('UserStore', {
},
async loadSkill(idSkill: string) {
const data = {
idSkill
}
return Api.SendReq('/myskills/page', 'POST', data)
.then((res) => {
return res.data
}).catch((error) => {
return {}
})
},
async loadFriends(username: string) {
return Api.SendReq('/users/friends', 'POST', null)
.then((res) => {