debian-mirror-gitlab/app/assets/javascripts/error_tracking/services/index.js
2020-03-09 13:42:32 +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 });
},
};