Skip to content
Snippets Groups Projects
Commit 9251699f authored by lfr20's avatar lfr20
Browse files

Fixed the function of fetch all to return a error

parent e4d7133f
Branches
No related tags found
2 merge requests!69Fixed upload page: recaptcha not implemented, lack of blocking (part one, two,...,!59Fix production bugs luis
......@@ -220,7 +220,7 @@ export async function fetchAllRequest (urls, onSuccess, onError) {
updateAccessToken(res.headers.get('access-token'))
}
let json = await res.json().catch(err => {
return {};
return null;
})
data.push(json)
headers.push(res.headers)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment