Skip to content
Snippets Groups Projects
Commit 2e37e8cf authored by meireikei's avatar meireikei Committed by kaniini
Browse files

Pass user id to fetchFriends

It looks like the API that fetchFriends expects was changed, to require
an ID.
parent e71b0411
Branches bugfix/fetch-friends-id
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment