mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
Add options parameter to group based project list call
Allows options to be passed to this endpoint: https://docs.gitlab.com/ee/api/groups.html#list-a-group-39-s-projects
This commit is contained in:
parent
83b843f41b
commit
36d051b516
@ -77,10 +77,10 @@ class Groups extends BaseModel {
|
||||
return this.post('groups', options);
|
||||
}
|
||||
|
||||
listProjects(groupId) {
|
||||
listProjects(groupId, options = {}) {
|
||||
const gId = Utils.parse(groupId);
|
||||
|
||||
return this.get(`groups/${gId}/projects`);
|
||||
return this.get(`groups/${gId}/projects`, options);
|
||||
}
|
||||
|
||||
addProject(groupId, projectId) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user