Pass user id to fetchFriends
It looks like the API that fetchFriends expects was changed, to require an ID.
This commit is contained in:
parent
e71b0411aa
commit
2e37e8cf39
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ const users = {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fetch our friends
|
// Fetch our friends
|
||||||
store.rootState.api.backendInteractor.fetchFriends()
|
store.rootState.api.backendInteractor.fetchFriends(user.id)
|
||||||
.then((friends) => commit('addNewUsers', friends))
|
.then((friends) => commit('addNewUsers', friends))
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue