#315 - clean up the request

This commit is contained in:
dave 2019-02-06 13:18:54 -05:00
parent 2f12ac7ea4
commit a3a9949a21
1 changed files with 1 additions and 1 deletions

View File

@ -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) })