debian-mirror-gitlab/app/assets/javascripts/error_tracking/services/index.js
2020-03-13 15:44:24 +05:30

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 });
},
};