removed console logs, removed permission check for getting settings
This commit is contained in:
1 parent
ca30dcc33c
commit
31509247de
3 files changed
+4
-3
No files matched your search
@@ -10,7 +10,9 @@ class NetworkService {
|
||||
this.setBaseUrl(baseURL);
|
||||
this.unsubscribe = store.subscribe(() => {
|
||||
const state = store.getState();
|
||||
baseURL = state.settings.apiBaseUrl || BASE_URL;
|
||||
if (state.settings.apiBaseUrl) {
|
||||
baseURL = state.settings.apiBaseUrl;
|
||||
}
|
||||
this.setBaseUrl(baseURL);
|
||||
});
|
||||
this.axiosInstance.interceptors.response.use(
|
||||
|
||||
Reference in new issue
Block a user