Skip to content

Commit 7ee4ba0

Browse files
ChamseddineBhdjonenst
authored andcommitted
remove :
Signed-off-by: ChamseddineBhd <[email protected]>
1 parent 6779af6 commit 7ee4ba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/rest-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function backendFetch(url, init) {
2828
const initCopy = Object.assign({}, init);
2929
if (process.env.REACT_APP_USE_AUTHENTICATION === "true") {
3030
initCopy.headers = new Headers(initCopy.headers);
31-
initCopy.headers.append("Authorization", "Bearer: " + getToken())
31+
initCopy.headers.append("Authorization", "Bearer " + getToken())
3232
}
3333
return fetch(url, initCopy);
3434
}

0 commit comments

Comments
 (0)