prepare for sharing functionality
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Artem Anufrij
2023-02-16 11:34:27 +01:00
parent a22bb67d23
commit dc83bd6c65
7 changed files with 43 additions and 8 deletions

View File

@@ -0,0 +1,9 @@
import axios from 'axios'
export default {
get(context, id) {
axios.get(context.rootGetters.server + "/api/shares/" + id, context.rootGetters.headers).then((res) => {
console.log(res);
});
},
}

View File

@@ -0,0 +1,9 @@
//import state from './state.js';
//import getters from './getters.js';
//import mutations from './mutations.js';
import actions from './actions.js';
export default {
namespaced: true,
actions
}