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

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

10 lines
323 B
JavaScript
Raw Normal View History

2022-01-26 12:08:38 +05:30
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);
};