10 lines
244 B
JavaScript
10 lines
244 B
JavaScript
import axios from '~/lib/utils/axios_utils';
|
|
|
|
export default {
|
|
getSentryData({ endpoint, params }) {
|
|
return axios.get(endpoint, { params });
|
|
},
|
|
updateErrorStatus(endpoint, status) {
|
|
return axios.put(endpoint, { status });
|
|
},
|
|
};
|