#315 - clean up the request
This commit is contained in:
parent
2f12ac7ea4
commit
a3a9949a21
|
@ -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 New Issue