forked from AkkomaGang/akkoma-fe
Parameter name changed.
This commit is contained in:
parent
2fb768cfd8
commit
a842cadd15
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ const fetchFriends = ({id, page, credentials}) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const exportFriends = ({id, 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) })
|
return fetch(url, { headers: authHeaders(credentials) })
|
||||||
.then((data) => data.json())
|
.then((data) => data.json())
|
||||||
.then((data) => data.map(parseUser))
|
.then((data) => data.map(parseUser))
|
||||||
|
|
Loading…
Reference in a new issue