debian-mirror-gitlab/app/assets/javascripts/integrations/overrides/api.js

11 lines
219 B
JavaScript
Raw Normal View History

2021-10-27 15:23:28 +05:30
import axios from '~/lib/utils/axios_utils';
export const fetchOverrides = (overridesPath, { page, perPage }) => {
return axios.get(overridesPath, {
params: {
page,
per_page: perPage,
},
});
};