forked from srxl/akkoma-fe
#315 - clean up the request
This commit is contained in:
parent
2f12ac7ea4
commit
a3a9949a21
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ const fetchFriends = ({id, page, isExport, credentials}) => {
|
|||
if (page) {
|
||||
url = url + `&page=${page}`
|
||||
}
|
||||
if (isExport !== undefined) {
|
||||
if (isExport) {
|
||||
url = url + `&export=${isExport}`
|
||||
}
|
||||
return fetch(url, { headers: authHeaders(credentials) })
|
||||
|
|
Loading…
Reference in a new issue