stash
This commit is contained in:
parent
b4ea1d8df2
commit
c14762e20b
2 changed files with 75 additions and 8 deletions
|
|
@ -203,6 +203,16 @@ export default createStore({
|
|||
})
|
||||
console.log('ext_reply', ext_reply)
|
||||
return true;
|
||||
},
|
||||
async acceptFriend({state, dispatch}, args) {
|
||||
console.log('accepting friend ' + args)
|
||||
},
|
||||
async declineFriend({state, dispatch}, args) {
|
||||
console.log('declining friend ' + args)
|
||||
},
|
||||
async fetchFriendRequests({state, dispatch}) {
|
||||
const requests = await dispatch('apiLocalGet', {target: '/api/friendrequests/'})
|
||||
return requests
|
||||
}
|
||||
},
|
||||
getters: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue