debian-mirror-gitlab/app/assets/javascripts/error_tracking/services/index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
244 B
JavaScript
Raw Normal View History

2019-02-15 15:39:39 +05:30
import axios from '~/lib/utils/axios_utils';
export default {
2020-01-01 13:55:28 +05:30
getSentryData({ endpoint, params }) {
return axios.get(endpoint, { params });
2019-02-15 15:39:39 +05:30
},
2020-03-09 13:42:32 +05:30
updateErrorStatus(endpoint, status) {
return axios.put(endpoint, { status });
},
2019-02-15 15:39:39 +05:30
};