Parameter name changed.

This commit is contained in:
lambda 2019-02-16 16:09:14 +00:00
parent 2fb768cfd8
commit a842cadd15

View file

@ -258,7 +258,7 @@ const fetchFriends = ({id, page, credentials}) => {
}
const exportFriends = ({id, credentials}) => {
let url = `${FRIENDS_URL}?user_id=${id}&export=true`
let url = `${FRIENDS_URL}?user_id=${id}&all=true`
return fetch(url, { headers: authHeaders(credentials) })
.then((data) => data.json())
.then((data) => data.map(parseUser))