Skip to content

Commit

Permalink
remove :
Browse files Browse the repository at this point in the history
Signed-off-by: ChamseddineBhd <[email protected]>
  • Loading branch information
ChamseddineBhd authored and jonenst committed May 4, 2020
1 parent 6779af6 commit 7ee4ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/rest-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7ee4ba0

Please sign in to comment.