pleroma-fe/src/modules/api.js

15 lines
340 B
JavaScript
Raw Normal View History

import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'
const api = {
state: {
backendInteractor: backendInteractorService()
},
mutations: {
setBackendInteractor (state, backendInteractor) {
state.backendInteractor = backendInteractor
}
}
}
export default api