Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/api/integrations_api.js')
-rw-r--r--app/assets/javascripts/api/integrations_api.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/app/assets/javascripts/api/integrations_api.js b/app/assets/javascripts/api/integrations_api.js
deleted file mode 100644
index 692aae21a4f..00000000000
--- a/app/assets/javascripts/api/integrations_api.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import axios from '../lib/utils/axios_utils';
-import { buildApiUrl } from './api_utils';
-
-const JIRA_CONNECT_SUBSCRIPTIONS_PATH = '/api/:version/integrations/jira_connect/subscriptions';
-
-export function addJiraConnectSubscription(namespacePath, { jwt, accessToken }) {
- const url = buildApiUrl(JIRA_CONNECT_SUBSCRIPTIONS_PATH);
-
- return axios.post(
- url,
- {
- jwt,
- namespace_path: namespacePath,
- },
- {
- headers: {
- Authorization: `Bearer ${accessToken}`, // eslint-disable-line @gitlab/require-i18n-strings
- },
- },
- );
-}