fixed room mgmt and recorder mgmt basically working
This commit is contained in:
@@ -15,7 +15,6 @@ api.interceptors.request.use(async function(config) {
|
||||
if (store.getters.isAuthenticated) {
|
||||
const token = store.state.access_token;
|
||||
config.headers.Authorization = `Bearer ${token}`;
|
||||
return config;
|
||||
} else {
|
||||
Vue.$log.warn("the access_token is not valid anymore.");
|
||||
if(store.getters.isRefreshTokenValid){
|
||||
@@ -47,8 +46,8 @@ api.interceptors.request.use(async function(config) {
|
||||
}
|
||||
});
|
||||
}
|
||||
return config;
|
||||
}
|
||||
return config;
|
||||
});
|
||||
|
||||
api.interceptors.response.use(function (response) {
|
||||
|
||||
Reference in New Issue
Block a user