gitlab-org--gitlab-foss/app/assets/javascripts/error_tracking/services/index.js

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