cleaner code...

This commit is contained in:
Luke Berndt
2021-01-24 22:16:20 -05:00
parent 4892fd7c71
commit 7c11c520cd
7 changed files with 5 additions and 53 deletions

View File

@@ -138,7 +138,7 @@ export function fetchErrors(shortName) {
dispatch(beginFetchError());
return axios
.get(process.env.REACT_APP_BACKEND_SERVER + "/" + shortName + "/systems")
.get(process.env.REACT_APP_BACKEND_SERVER + "/" + shortName + "/systems", {withCredentials: true})
.then(response => {
if (response.data) {
dispatch(fetchErrorsSuccess(shortName, response.data));