2019-02-15 15:39:39 +05:30
|
|
|
import axios from '~/lib/utils/axios_utils';
|
|
|
|
|
|
|
|
export default {
|
2020-01-01 13:55:28 +05:30
|
|
|
getSentryData({ endpoint, params }) {
|
|
|
|
return axios.get(endpoint, { params });
|
2019-02-15 15:39:39 +05:30
|
|
|
},
|
2020-03-09 13:42:32 +05:30
|
|
|
updateErrorStatus(endpoint, status) {
|
|
|
|
return axios.put(endpoint, { status });
|
|
|
|
},
|
2019-02-15 15:39:39 +05:30
|
|
|
};
|