diff --git a/src/utils/rest-api.js b/src/utils/rest-api.js index 5ba208505d..e1415a8e59 100644 --- a/src/utils/rest-api.js +++ b/src/utils/rest-api.js @@ -28,7 +28,7 @@ function backendFetch(url, init) { const initCopy = Object.assign({}, init); if (process.env.REACT_APP_USE_AUTHENTICATION === "true") { initCopy.headers = new Headers(initCopy.headers); - initCopy.headers.append("Authorization", "Bearer: " + getToken()) + initCopy.headers.append("Authorization", "Bearer " + getToken()) } return fetch(url, initCopy); }