We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6779af6 commit 7ee4ba0Copy full SHA for 7ee4ba0
src/utils/rest-api.js
@@ -28,7 +28,7 @@ function backendFetch(url, init) {
28
const initCopy = Object.assign({}, init);
29
if (process.env.REACT_APP_USE_AUTHENTICATION === "true") {
30
initCopy.headers = new Headers(initCopy.headers);
31
- initCopy.headers.append("Authorization", "Bearer: " + getToken())
+ initCopy.headers.append("Authorization", "Bearer " + getToken())
32
}
33
return fetch(url, initCopy);
34
0 commit comments