2019-01-11 22:52:26 +00:00
|
|
|
import axios from '~/lib/utils/axios_utils';
|
|
|
|
|
|
|
|
export default {
|
2019-12-13 18:08:06 +00:00
|
|
|
getSentryData({ endpoint, params }) {
|
|
|
|
return axios.get(endpoint, { params });
|
2019-01-11 22:52:26 +00:00
|
|
|
},
|
2020-01-15 18:08:34 +00:00
|
|
|
updateErrorStatus(endpoint, status) {
|
|
|
|
return axios.put(endpoint, { status });
|
|
|
|
},
|
2019-01-11 22:52:26 +00:00
|
|
|
};
|