Fix setting token to header's request
This commit is contained in:
1 parent
bc245eff51
commit
c7afdff759
1 file changed
+1
-1
@@ -11,5 +11,5 @@ export const backend = axios.create({
|
||||
});
|
||||
|
||||
if (existingToken) {
|
||||
backend.defaults.headers['Authorization'] = existingToken;
|
||||
backend.defaults.headers.common['Authorization'] = existingToken;
|
||||
}
|
||||
Reference in new issue
Block a user