diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-13 15:09:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-13 15:09:16 +0300 |
commit | 3af8411113c5db18d29fa0102db27080c3a1b766 (patch) | |
tree | ab2b6bd3905afd75c961519d69a21b51fcd46b85 /app/assets/javascripts/api.js | |
parent | e25ee76ededbc526b860a6da3c2aed4bda47c306 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/api.js')
-rw-r--r-- | app/assets/javascripts/api.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/assets/javascripts/api.js b/app/assets/javascripts/api.js index 2b589b71163..48005787d81 100644 --- a/app/assets/javascripts/api.js +++ b/app/assets/javascripts/api.js @@ -31,7 +31,6 @@ const Api = { projectLabelsPath: '/:namespace_path/:project_path/-/labels', projectFileSchemaPath: '/:namespace_path/:project_path/-/schema/:ref/:filename', projectUsersPath: '/api/:version/projects/:id/users', - projectGroupsPath: '/api/:version/projects/:id/groups.json', projectInvitationsPath: '/api/:version/projects/:id/invitations', projectMembersPath: '/api/:version/projects/:id/members', projectMergeRequestsPath: '/api/:version/projects/:id/merge_requests', @@ -242,20 +241,6 @@ const Api = { .then(({ data }) => data); }, - projectGroups(id, options) { - const url = Api.buildUrl(this.projectGroupsPath).replace(':id', encodeURIComponent(id)); - - return axios - .get(url, { - params: { - ...options, - }, - }) - .then(({ data }) => { - return data; - }); - }, - addProjectMembersByUserId(id, data) { const url = Api.buildUrl(this.projectMembersPath).replace(':id', encodeURIComponent(id)); |