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