debian-mirror-gitlab/app/assets/javascripts/integrations/edit/api.js
2022-01-26 12:08:38 +05:30

9 lines
323 B
JavaScript

import axios from '~/lib/utils/axios_utils';
/**
* Test the validity of [integrationFormData].
* @return Promise<{ issuetypes: []String }> - issuetypes contains valid Jira issue types.
*/
export const testIntegrationSettings = (testPath, integrationFormData) => {
return axios.put(testPath, integrationFormData);
};