Pass user id to fetchFriends

It looks like the API that fetchFriends expects was changed, to require
an ID.
This commit is contained in:
meireikei 2018-08-27 01:48:24 -07:00 committed by William Pitcock
parent e71b0411aa
commit 2e37e8cf39

View file

@ -121,7 +121,7 @@ const users = {
}
// Fetch our friends
store.rootState.api.backendInteractor.fetchFriends()
store.rootState.api.backendInteractor.fetchFriends(user.id)
.then((friends) => commit('addNewUsers', friends))
})
} else {