Skip to content

Commit 24d9bcd

Browse files
committed
fix: Revert "fix(api): Updating project members all function to include the inherited members. #141" until properly implemented by GitLab (https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6669)
This reverts commit e081a16.
1 parent 97a51de commit 24d9bcd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/templates/ResourceMembers.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ class ResourceMembers extends BaseService {
88
this.url = URLJoin(this.url, resourceType);
99
}
1010

11-
all(resourceId, { excludeInherited = false, query } = {}) {
11+
all(resourceId) {
1212
const rId = encodeURIComponent(resourceId);
1313

14-
const url = excludeInherited ? `${rId}/members` : `${rId}/members/all`;
15-
16-
return RequestHelper.get(this, url, { query });
14+
return RequestHelper.get(this, `${rId}/members`);
1715
}
1816

1917
add(resourceId, userId, accessLevel, options) {

0 commit comments

Comments
 (0)