fix errors, change logo

This commit is contained in:
Victor Batischev committed 2023-12-04 18:01:04 +03:00
1 parent 887656da3b
commit 5bfc953ecc
33 files changed
+139 -136

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@ export const apiRequest = (
"Access-Control-Allow-Origin": "*",
"Content-Type": "application/json",
},
} = {}
} = {},
) => {
const fullHeaders = { ...headers, ...getToken() };
let urWithParams = urlHasParams(url);
@@ -41,7 +41,7 @@ export const apiRequest = (
// dispatch(auth(false));
}
return resolve(response);
})
}),
)
.then((response) => new Promise((resolve) => resolve(response.data)));
};