debian-mirror-gitlab/app/assets/javascripts/integrations/overrides/api.js
2021-10-27 15:23:28 +05:30

10 lines
219 B
JavaScript

import axios from '~/lib/utils/axios_utils';
export const fetchOverrides = (overridesPath, { page, perPage }) => {
return axios.get(overridesPath, {
params: {
page,
per_page: perPage,
},
});
};