Removes not used function
This commit is contained in:
parent
de7537d63f
commit
4771269f89
|
@ -58,20 +58,6 @@ export const fetchProcess = ({ commit }, id) => {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
export const fetchProcessLog = ({ commit }, { id: id, isFull: isFull }) => {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
axios.tainacan.get(`/bg-processes/${id}/log`)
|
|
||||||
.then( res => {
|
|
||||||
let log = res.data;
|
|
||||||
commit('setProcessLog', log);
|
|
||||||
resolve(log)
|
|
||||||
})
|
|
||||||
.catch( error => {
|
|
||||||
reject(error);
|
|
||||||
})
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
export const fetchProcessErrorLog = ({ commit }, { id: id, isFull: isFull }) => {
|
export const fetchProcessErrorLog = ({ commit }, { id: id, isFull: isFull }) => {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
axios.tainacan.get(`/bg-processes/${id}/log`)
|
axios.tainacan.get(`/bg-processes/${id}/log`)
|
||||||
|
|
Loading…
Reference in New Issue