mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 11:35:14 +00:00
rename init to initAPi
This commit is contained in:
parent
dd0589776c
commit
fe8ea0afdf
|
@ -3,9 +3,9 @@ import './plugins/bootstrap-vue';
|
|||
import App from './App.vue';
|
||||
import store from './store';
|
||||
import router from './router';
|
||||
import { init } from './shared/apiService';
|
||||
import { initApi } from './shared/apiService';
|
||||
|
||||
init(store);
|
||||
initApi(store);
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ export const api = axios.create({
|
|||
* Initialize api so store is accessible.
|
||||
* @param store Vuex store
|
||||
*/
|
||||
export function init(store) {
|
||||
export function initApi(store) {
|
||||
api.interceptors.request.use(
|
||||
(config) => {
|
||||
const custconfig = config;
|
||||
|
|
Loading…
Reference in New Issue
Block a user